#8F2040#8F2040
#8F2040 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.147 H 9.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2040 |
|---|---|
| RGB | rgb(143, 32, 64) |
| HSL | hsl(343, 63%, 34%) |
| HSV | hsv(343, 78%, 56%) |
| CMYK | cmyk(0%, 77.6%, 55.2%, 43.9%) |
| CIE-LAB | lab(32.36, 47.66, 9.11) |
| CIE-LCH | lch(32.36, 48.52, 10.82°) |
| OKLab | oklab(43.57% 0.1448 0.0232) |
| OKLCH | oklch(43.57% 0.147 9.1) |
| XYZ | xyz(12.7708, 7.2446, 5.5754) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.38
Cranberry
#9E003A
ΔE00 3.68
Purple Red
#990147
ΔE00 3.91
Berry
#990F4B
ΔE00 4.13
Bordeaux
#7B002C
ΔE00 5.82
Mulberry
#920A4E
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2040 #208F6F
analogous
#8F2078 #8F2040 #8F3820
triadic
#8F2040 #408F20 #20408F
tetradic
#8F2040 #788F20 #208F6F #38208F
square
#8F2040 #788F20 #208F6F #38208F
split-complementary
#8F2040 #208F38 #20788F
monochromatic
#2B0A13 #5D152A #8F2040 #C12B56 #D85178
Accessibility & contrast
On white
8.58
#8F2040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8F2040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2040
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2040 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E41
Deuteranopia (green-blind)
#5A543D
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8f2040; /* rgb */ color: rgb(143, 32, 64); /* oklch */ color: oklch(43.6% 0.147 9.1);
Tailwind
colors: {
custom: {
50: '#b66674',
500: '#8f2040',
950: '#000000',
},
}SCSS
$custom: #8f2040; $custom-light: #b66674; $custom-dark: #000000;
JSON
{
"hex": "#8f2040",
"rgb": {
"r": 143,
"g": 32,
"b": 64
},
"hsl": {
"h": 342.703,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.43574,
"c": 0.14667,
"h": 9.1
},
"luminance": 0.07243
}Semantic roles & 50–950 ramp
primary
#8F2040
secondary
#4FBB9C
accent
#E6B741
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B