#8F1542#8F1542
#8F1542 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.157 H 6.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1542 |
|---|---|
| RGB | rgb(143, 21, 66) |
| HSL | hsl(338, 74%, 32%) |
| HSV | hsv(338, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 53.8%, 43.9%) |
| CIE-LAB | lab(31.28, 51.02, 6.28) |
| CIE-LCH | lch(31.28, 51.40, 7.01°) |
| OKLab | oklab(42.8% 0.156 0.0163) |
| OKLCH | oklch(42.8% 0.157 6) |
| XYZ | xyz(12.5804, 6.7711, 5.7977) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.24
Berry
#990F4B
ΔE00 2.59
Red Wine
#8C0034
ΔE00 3.57
Mulberry
#920A4E
ΔE00 3.96
Wine (survey)
#80013F
ΔE00 4.37
Cranberry
#9E003A
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1542 #158F62
analogous
#8F157F #8F1542 #8F2515
triadic
#8F1542 #428F15 #15428F
tetradic
#8F1542 #7F8F15 #158F62 #25158F
square
#8F1542 #7F8F15 #158F62 #25158F
split-complementary
#8F1542 #158F25 #157F8F
monochromatic
#240511 #5A0D29 #8F1542 #C41D5B #E23C79
Accessibility & contrast
On white
8.92
#8F1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8F1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1542
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1542 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9C002A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1542; /* rgb */ color: rgb(143, 21, 66); /* oklch */ color: oklch(42.8% 0.157 6.0);
Tailwind
colors: {
custom: {
50: '#b66276',
500: '#8f1542',
950: '#000000',
},
}SCSS
$custom: #8f1542; $custom-light: #b66276; $custom-dark: #000000;
JSON
{
"hex": "#8f1542",
"rgb": {
"r": 143,
"g": 21,
"b": 66
},
"hsl": {
"h": 337.869,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.42798,
"c": 0.15682,
"h": 6
},
"luminance": 0.06769
}Semantic roles & 50–950 ramp
primary
#8F1542
secondary
#3EC291
accent
#F1AC37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B