#8F1847#8F1847
#8F1847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.156 H 3.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1847 |
|---|---|
| RGB | rgb(143, 24, 71) |
| HSL | hsl(336, 71%, 33%) |
| HSV | hsv(336, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 50.3%, 43.9%) |
| CIE-LAB | lab(31.69, 50.67, 3.55) |
| CIE-LCH | lch(31.69, 50.80, 4.01°) |
| OKLab | oklab(43.15% 0.1554 0.0096) |
| OKLCH | oklch(43.15% 0.156 3.5) |
| XYZ | xyz(12.7928, 6.9496, 6.6278) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.90
Purple Red
#990147
ΔE00 2.07
Mulberry
#920A4E
ΔE00 2.70
Reddish Purple
#910951
ΔE00 3.68
Wine (survey)
#80013F
ΔE00 4.03
Red Purple
#820747
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1847 #188F60
analogous
#8F1882 #8F1847 #8F2518
triadic
#8F1847 #478F18 #18478F
tetradic
#8F1847 #828F18 #188F60 #25188F
square
#8F1847 #828F18 #188F60 #25188F
split-complementary
#8F1847 #188F25 #18828F
monochromatic
#260613 #5B0F2D #8F1847 #C32161 #DF4280
Accessibility & contrast
On white
8.79
#8F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8F1847 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1847
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1847 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8f1847; /* rgb */ color: rgb(143, 24, 71); /* oklch */ color: oklch(43.1% 0.156 3.5);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8f1847',
950: '#000000',
},
}SCSS
$custom: #8f1847; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8f1847",
"rgb": {
"r": 143,
"g": 24,
"b": 71
},
"hsl": {
"h": 336.303,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.43146,
"c": 0.15567,
"h": 3.5
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#8F1847
secondary
#43C08F
accent
#EEA73A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B