HSL(333, 100%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(333,100%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(333, 100%, 31%) | color: hsl(333, 100%, 31%) | |
| HEX | #9E0047 | color: #9E0047 | |
| RGB | rgb(158, 0, 71) | color: rgb(158, 0, 71) | |
| CMYK | cmyk(0%, 100%, 55%, 38%) | — | |
| HSV | hsv(333, 100%, 62%) | — | |
| HWB | hwb(333 0% 38%) | color: hwb(333 0% 38%) | |
| OKLCH | oklch(0.4495 0.1805 5.3) | color: oklch(0.4495 0.1805 5.3) | |
| Lab | lab(33.41 58.67 6.43) | color: lab(33.41 58.67 6.43) | |
| LCH | lch(33.41 59.02 6.25) | color: lch(33.41 59.02 6.25) |
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)
#5A5836 — rgb(90, 88, 54)
Deuteranopia (Green-blind)
#636F32 — rgb(99, 111, 50)
Tritanopia (Blue-blind)
#962825 — rgb(150, 40, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(333, 100%, 31%);
text
color: hsl(333, 100%, 31%);
border
border: 2px solid hsl(333, 100%, 31%);
gradient light
background: linear-gradient(to right, hsl(333, 100%, 51%), hsl(333, 100%, 31%));
gradient dark
background: linear-gradient(to right, hsl(333, 100%, 31%), hsl(333, 100%, 11%))
hex
background-color: #9E0047;
tailwind
bg-[hsl(333,100%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(333, 100%, 31%, 0.4);
css variable
--color-primary: hsl(333, 100%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(333, 100%, 31%)?
HEX: #9E0047 | RGB: rgb(158, 0, 71) | CMYK: 0%, 100%, 55%, 38% | HSV: 333°, 100%, 62%. Copy any format from the conversion table above.
What colors go well with #9E0047?
The complementary color is HSL(153, 100%, 31%). For a triadic harmony, use hues 333°, 93°, and 213°. For analogous combinations, try hues 303° and 3°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(333, 100%, 31%) in CSS?
As HSL: color: hsl(333, 100%, 31%); — As HEX: color: #9E0047; — As RGB: color: rgb(158, 0, 71); — Tailwind CSS: bg-[hsl(333,100%,31%)] — CSS variable: --color-primary: hsl(333, 100%, 31%);