#8E0F40#8E0F40
#8E0F40 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.160 H 6.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8E0F40 |
|---|---|
| RGB | rgb(142, 15, 64) |
| HSL | hsl(337, 81%, 31%) |
| HSV | hsv(337, 89%, 56%) |
| CMYK | cmyk(0%, 89.4%, 54.9%, 44.3%) |
| CIE-LAB | lab(30.56, 51.91, 6.55) |
| CIE-LCH | lch(30.56, 52.33, 7.19°) |
| OKLab | oklab(42.21% 0.1587 0.0169) |
| OKLCH | oklch(42.21% 0.16 6.1) |
| XYZ | xyz(12.2528, 6.4644, 5.4521) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.37
Berry
#990F4B
ΔE00 2.91
Red Wine
#8C0034
ΔE00 3.19
Wine (survey)
#80013F
ΔE00 4.01
Mulberry
#920A4E
ΔE00 4.06
Cranberry
#9E003A
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E0F40 #0F8E5D
analogous
#8E0F7F #8E0F40 #8E1D0F
triadic
#8E0F40 #408E0F #0F408E
tetradic
#8E0F40 #7F8E0F #0F8E5D #1D0F8E
square
#8E0F40 #7F8E0F #0F8E5D #1D0F8E
split-complementary
#8E0F40 #0F8E1D #0F7F8E
monochromatic
#1F030E #570927 #8E0F40 #C51559 #E92E76
Accessibility & contrast
On white
9.16
#8E0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8E0F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E0F40
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E0F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E0F40 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#55513D
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e0f40; /* rgb */ color: rgb(142, 15, 64); /* oklch */ color: oklch(42.2% 0.160 6.1);
Tailwind
colors: {
custom: {
50: '#b56174',
500: '#8e0f40',
950: '#000000',
},
}SCSS
$custom: #8e0f40; $custom-light: #b56174; $custom-dark: #000000;
JSON
{
"hex": "#8e0f40",
"rgb": {
"r": 142,
"g": 15,
"b": 64
},
"hsl": {
"h": 336.85,
"s": 80.892,
"l": 30.784
},
"oklch": {
"l": 0.42212,
"c": 0.15963,
"h": 6.1
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#8E0F40
secondary
#36C38C
accent
#F7AB31
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B