HSL(339, 80%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(339,80%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(339, 80%, 31%) | color: hsl(339, 80%, 31%) | |
| HEX | #8E103C | color: #8E103C | |
| RGB | rgb(142, 16, 60) | color: rgb(142, 16, 60) | |
| CMYK | cmyk(0%, 89%, 58%, 44%) | — | |
| HSV | hsv(339, 89%, 56%) | — | |
| HWB | hwb(339 6% 44%) | color: hwb(339 6% 44%) | |
| OKLCH | oklch(0.4215 0.1582 8.43) | color: oklch(0.4215 0.1582 8.43) | |
| Lab | lab(30.52 51.41 9.17) | color: lab(30.52 51.41 9.17) | |
| LCH | lch(30.52 52.22 10.11) | color: lch(30.52 52.22 10.11) |
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)
#575631 — rgb(87, 86, 49)
Deuteranopia (Green-blind)
#5F682F — rgb(95, 104, 47)
Tritanopia (Blue-blind)
#882927 — rgb(136, 41, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(339, 80%, 31%);
text
color: hsl(339, 80%, 31%);
border
border: 2px solid hsl(339, 80%, 31%);
gradient light
background: linear-gradient(to right, hsl(339, 80%, 51%), hsl(339, 80%, 31%));
gradient dark
background: linear-gradient(to right, hsl(339, 80%, 31%), hsl(339, 80%, 11%))
hex
background-color: #8E103C;
tailwind
bg-[hsl(339,80%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(339, 80%, 31%, 0.4);
css variable
--color-primary: hsl(339, 80%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(339, 80%, 31%)?
HEX: #8E103C | RGB: rgb(142, 16, 60) | CMYK: 0%, 89%, 58%, 44% | HSV: 339°, 89%, 56%. Copy any format from the conversion table above.
What colors go well with #8E103C?
The complementary color is HSL(159, 80%, 31%). For a triadic harmony, use hues 339°, 99°, and 219°. For analogous combinations, try hues 309° and 9°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(339, 80%, 31%) in CSS?
As HSL: color: hsl(339, 80%, 31%); — As HEX: color: #8E103C; — As RGB: color: rgb(142, 16, 60); — Tailwind CSS: bg-[hsl(339,80%,31%)] — CSS variable: --color-primary: hsl(339, 80%, 31%);