#8F1842#8F1842
#8F1842 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.154 H 6.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1842 |
|---|---|
| RGB | rgb(143, 24, 66) |
| HSL | hsl(339, 71%, 33%) |
| HSV | hsv(339, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 53.8%, 43.9%) |
| CIE-LAB | lab(31.55, 50.25, 6.66) |
| CIE-LCH | lch(31.55, 50.69, 7.55°) |
| OKLab | oklab(43% 0.1535 0.0172) |
| OKLCH | oklch(43% 0.154 6.4) |
| XYZ | xyz(12.6389, 6.8881, 5.8172) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.48
Berry
#990F4B
ΔE00 2.76
Red Wine
#8C0034
ΔE00 3.53
Mulberry
#920A4E
ΔE00 4.24
Cranberry
#9E003A
ΔE00 4.33
Wine (survey)
#80013F
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1842 #188F65
analogous
#8F187D #8F1842 #8F2A18
triadic
#8F1842 #428F18 #18428F
tetradic
#8F1842 #7D8F18 #188F65 #2A188F
square
#8F1842 #7D8F18 #188F65 #2A188F
split-complementary
#8F1842 #188F2A #187D8F
monochromatic
#260612 #5B0F2A #8F1842 #C3215A #DF427A
Accessibility & contrast
On white
8.83
#8F1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8F1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1842
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1842 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#57533F
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1842; /* rgb */ color: rgb(143, 24, 66); /* oklch */ color: oklch(43.0% 0.154 6.4);
Tailwind
colors: {
custom: {
50: '#b66376',
500: '#8f1842',
950: '#000000',
},
}SCSS
$custom: #8f1842; $custom-light: #b66376; $custom-dark: #000000;
JSON
{
"hex": "#8f1842",
"rgb": {
"r": 143,
"g": 24,
"b": 66
},
"hsl": {
"h": 338.824,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.42997,
"c": 0.15444,
"h": 6.4
},
"luminance": 0.06886
}Semantic roles & 50–950 ramp
primary
#8F1842
secondary
#43C094
accent
#EEAE3A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B