HSL(335, 20%, 49%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,20%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 20%, 49%) | color: hsl(335, 20%, 49%) | |
| HEX | #966479 | color: #966479 | |
| RGB | rgb(150, 100, 121) | color: rgb(150, 100, 121) | |
| CMYK | cmyk(0%, 33%, 19%, 41%) | — | |
| HSV | hsv(335, 33%, 59%) | — | |
| HWB | hwb(335 40% 41%) | color: hwb(335 40% 41%) | |
| OKLCH | oklch(0.5628 0.0704 352.76) | color: oklch(0.5628 0.0704 352.76) | |
| Lab | lab(48.23 23.4 -3.47) | color: lab(48.23 23.4 -3.47) | |
| LCH | lch(48.23 23.66 351.57) | color: lch(48.23 23.66 351.57) |
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)
#808074 — rgb(128, 128, 116)
Deuteranopia (Green-blind)
#838773 — rgb(131, 135, 115)
Tritanopia (Blue-blind)
#94706F — rgb(148, 112, 111)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 20%, 49%);
text
color: hsl(335, 20%, 49%);
border
border: 2px solid hsl(335, 20%, 49%);
gradient light
background: linear-gradient(to right, hsl(335, 20%, 69%), hsl(335, 20%, 49%));
gradient dark
background: linear-gradient(to right, hsl(335, 20%, 49%), hsl(335, 20%, 29%))
hex
background-color: #966479;
tailwind
bg-[hsl(335,20%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 20%, 49%, 0.4);
css variable
--color-primary: hsl(335, 20%, 49%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 20%, 49%)?
HEX: #966479 | RGB: rgb(150, 100, 121) | CMYK: 0%, 33%, 19%, 41% | HSV: 335°, 33%, 59%. Copy any format from the conversion table above.
What colors go well with #966479?
The complementary color is HSL(155, 20%, 49%). 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, 20%, 49%) in CSS?
As HSL: color: hsl(335, 20%, 49%); — As HEX: color: #966479; — As RGB: color: rgb(150, 100, 121); — Tailwind CSS: bg-[hsl(335,20%,49%)] — CSS variable: --color-primary: hsl(335, 20%, 49%);