HSL(336, 20%, 53%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,20%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 20%, 53%) | color: hsl(336, 20%, 53%) | |
| HEX | #9F6F82 | color: #9F6F82 | |
| RGB | rgb(159, 111, 130) | color: rgb(159, 111, 130) | |
| CMYK | cmyk(0%, 30%, 18%, 38%) | — | |
| HSV | hsv(336, 30%, 62%) | — | |
| HWB | hwb(336 43% 38%) | color: hwb(336 43% 38%) | |
| OKLCH | oklch(0.5967 0.0659 353.82) | color: oklch(0.5967 0.0659 353.82) | |
| Lab | lab(52.23 21.97 -2.8) | color: lab(52.23 21.97 -2.8) | |
| LCH | lch(52.23 22.15 352.74) | color: lch(52.23 22.15 352.74) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8A8A7D — rgb(138, 138, 125)
Deuteranopia (Green-blind)
#8D917C — rgb(141, 145, 124)
Tritanopia (Blue-blind)
#9D7A79 — rgb(157, 122, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 20%, 53%);
text
color: hsl(336, 20%, 53%);
border
border: 2px solid hsl(336, 20%, 53%);
gradient light
background: linear-gradient(to right, hsl(336, 20%, 73%), hsl(336, 20%, 53%));
gradient dark
background: linear-gradient(to right, hsl(336, 20%, 53%), hsl(336, 20%, 33%))
hex
background-color: #9F6F82;
tailwind
bg-[hsl(336,20%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 20%, 53%, 0.4);
css variable
--color-primary: hsl(336, 20%, 53%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 20%, 53%)?
HEX: #9F6F82 | RGB: rgb(159, 111, 130) | CMYK: 0%, 30%, 18%, 38% | HSV: 336°, 30%, 62%. Copy any format from the conversion table above.
What colors go well with #9F6F82?
The complementary color is HSL(156, 20%, 53%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 20%, 53%) in CSS?
As HSL: color: hsl(336, 20%, 53%); — As HEX: color: #9F6F82; — As RGB: color: rgb(159, 111, 130); — Tailwind CSS: bg-[hsl(336,20%,53%)] — CSS variable: --color-primary: hsl(336, 20%, 53%);