HSL(335, 45%, 33%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,45%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 45%, 33%) | color: hsl(335, 45%, 33%) | |
| HEX | #7A2E4E | color: #7A2E4E | |
| RGB | rgb(122, 46, 78) | color: rgb(122, 46, 78) | |
| CMYK | cmyk(0%, 62%, 36%, 52%) | — | |
| HSV | hsv(335, 62%, 48%) | — | |
| HWB | hwb(335 18% 52%) | color: hwb(335 18% 52%) | |
| OKLCH | oklch(0.4195 0.1114 356.77) | color: oklch(0.4195 0.1114 356.77) | |
| Lab | lab(30.98 36.49 -2.56) | color: lab(30.98 36.49 -2.56) | |
| LCH | lch(30.98 36.58 355.99) | color: lch(30.98 36.58 355.99) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#595846 — rgb(89, 88, 70)
Deuteranopia (Green-blind)
#5E6344 — rgb(94, 99, 68)
Tritanopia (Blue-blind)
#76403F — rgb(118, 64, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 45%, 33%);
text
color: hsl(335, 45%, 33%);
border
border: 2px solid hsl(335, 45%, 33%);
gradient light
background: linear-gradient(to right, hsl(335, 45%, 53%), hsl(335, 45%, 33%));
gradient dark
background: linear-gradient(to right, hsl(335, 45%, 33%), hsl(335, 45%, 13%))
hex
background-color: #7A2E4E;
tailwind
bg-[hsl(335,45%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 45%, 33%, 0.4);
css variable
--color-primary: hsl(335, 45%, 33%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 45%, 33%)?
HEX: #7A2E4E | RGB: rgb(122, 46, 78) | CMYK: 0%, 62%, 36%, 52% | HSV: 335°, 62%, 48%. Copy any format from the conversion table above.
What colors go well with #7A2E4E?
The complementary color is HSL(155, 45%, 33%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 45%, 33%) in CSS?
As HSL: color: hsl(335, 45%, 33%); — As HEX: color: #7A2E4E; — As RGB: color: rgb(122, 46, 78); — Tailwind CSS: bg-[hsl(335,45%,33%)] — CSS variable: --color-primary: hsl(335, 45%, 33%);