#8F1840#8F1840
#8F1840 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.154 H 7.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1840 |
|---|---|
| RGB | rgb(143, 24, 64) |
| HSL | hsl(340, 71%, 33%) |
| HSV | hsv(340, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 55.2%, 43.9%) |
| CIE-LAB | lab(31.50, 50.09, 7.91) |
| CIE-LCH | lch(31.50, 50.71, 8.97°) |
| OKLab | oklab(42.94% 0.1527 0.0203) |
| OKLCH | oklch(42.94% 0.154 7.6) |
| XYZ | xyz(12.5809, 6.8649, 5.5121) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.90
Red Wine
#8C0034
ΔE00 3.02
Berry
#990F4B
ΔE00 3.29
Cranberry
#9E003A
ΔE00 3.85
Mulberry
#920A4E
ΔE00 4.89
Wine (survey)
#80013F
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1840 #188F67
analogous
#8F187B #8F1840 #8F2C18
triadic
#8F1840 #408F18 #18408F
tetradic
#8F1840 #7B8F18 #188F67 #2C188F
square
#8F1840 #7B8F18 #188F67 #2C188F
split-complementary
#8F1840 #188F2C #187B8F
monochromatic
#260611 #5B0F29 #8F1840 #C32157 #DF4277
Accessibility & contrast
On white
8.85
#8F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8F1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1840
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1840 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9D002A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1840; /* rgb */ color: rgb(143, 24, 64); /* oklch */ color: oklch(42.9% 0.154 7.6);
Tailwind
colors: {
custom: {
50: '#b66374',
500: '#8f1840',
950: '#000000',
},
}SCSS
$custom: #8f1840; $custom-light: #b66374; $custom-dark: #000000;
JSON
{
"hex": "#8f1840",
"rgb": {
"r": 143,
"g": 24,
"b": 64
},
"hsl": {
"h": 339.832,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.4294,
"c": 0.15403,
"h": 7.6
},
"luminance": 0.06863
}Semantic roles & 50–950 ramp
primary
#8F1840
secondary
#43C096
accent
#EEB13A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B