HSL(330, 80%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
5000K
CSS Class
bg-[hsl(330,80%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(330, 80%, 31%) | color: hsl(330, 80%, 31%) | |
| HEX | #8E104F | color: #8E104F | |
| RGB | rgb(142, 16, 79) | color: rgb(142, 16, 79) | |
| CMYK | cmyk(0%, 89%, 44%, 44%) | — | |
| HSV | hsv(330, 89%, 56%) | — | |
| HWB | hwb(330 6% 44%) | color: hwb(330 6% 44%) | |
| OKLCH | oklch(0.4275 0.1636 357.8) | color: oklch(0.4275 0.1636 357.8) | |
| Lab | lab(31.08 53.02 -2.64) | color: lab(31.08 53.02 -2.64) | |
| LCH | lch(31.08 53.09 357.15) | color: lch(31.08 53.09 357.15) |
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)
#575640 — rgb(87, 86, 64)
Deuteranopia (Green-blind)
#5F683C — rgb(95, 104, 60)
Tritanopia (Blue-blind)
#883431 — rgb(136, 52, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(330, 80%, 31%);
text
color: hsl(330, 80%, 31%);
border
border: 2px solid hsl(330, 80%, 31%);
gradient light
background: linear-gradient(to right, hsl(330, 80%, 51%), hsl(330, 80%, 31%));
gradient dark
background: linear-gradient(to right, hsl(330, 80%, 31%), hsl(330, 80%, 11%))
hex
background-color: #8E104F;
tailwind
bg-[hsl(330,80%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(330, 80%, 31%, 0.4);
css variable
--color-primary: hsl(330, 80%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(330, 80%, 31%)?
HEX: #8E104F | RGB: rgb(142, 16, 79) | CMYK: 0%, 89%, 44%, 44% | HSV: 330°, 89%, 56%. Copy any format from the conversion table above.
What colors go well with #8E104F?
The complementary color is HSL(150, 80%, 31%). For a triadic harmony, use hues 330°, 90°, and 210°. For analogous combinations, try hues 300° and 0°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(330, 80%, 31%) in CSS?
As HSL: color: hsl(330, 80%, 31%); — As HEX: color: #8E104F; — As RGB: color: rgb(142, 16, 79); — Tailwind CSS: bg-[hsl(330,80%,31%)] — CSS variable: --color-primary: hsl(330, 80%, 31%);