#8E1640#8E1640
#8E1640 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.155 H 7.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1640 |
|---|---|
| RGB | rgb(142, 22, 64) |
| HSL | hsl(339, 73%, 32%) |
| HSV | hsv(339, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 54.9%, 44.3%) |
| CIE-LAB | lab(31.11, 50.33, 7.33) |
| CIE-LCH | lch(31.11, 50.86, 8.28°) |
| OKLab | oklab(42.62% 0.1536 0.0188) |
| OKLCH | oklch(42.62% 0.155 7) |
| XYZ | xyz(12.3688, 6.6966, 5.4908) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.75
Red Wine
#8C0034
ΔE00 3.06
Berry
#990F4B
ΔE00 3.16
Cranberry
#9E003A
ΔE00 4.16
Mulberry
#920A4E
ΔE00 4.58
Wine (survey)
#80013F
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1640 #168E64
analogous
#8E167C #8E1640 #8E2816
triadic
#8E1640 #408E16 #16408E
tetradic
#8E1640 #7C8E16 #168E64 #28168E
square
#8E1640 #7C8E16 #168E64 #28168E
split-complementary
#8E1640 #168E28 #167C8E
monochromatic
#240610 #590E28 #8E1640 #C31E58 #E13D77
Accessibility & contrast
On white
8.98
#8E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8E1640 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1640
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1640 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1640 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1640; /* rgb */ color: rgb(142, 22, 64); /* oklch */ color: oklch(42.6% 0.155 7.0);
Tailwind
colors: {
custom: {
50: '#b56374',
500: '#8e1640',
950: '#000000',
},
}SCSS
$custom: #8e1640; $custom-light: #b56374; $custom-dark: #000000;
JSON
{
"hex": "#8e1640",
"rgb": {
"r": 142,
"g": 22,
"b": 64
},
"hsl": {
"h": 339,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.42616,
"c": 0.15476,
"h": 7
},
"luminance": 0.06695
}Semantic roles & 50–950 ramp
primary
#8E1640
secondary
#3FC193
accent
#F0AF38
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B