#8F1240#8F1240
#8F1240 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.159 H 6.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1240 |
|---|---|
| RGB | rgb(143, 18, 64) |
| HSL | hsl(338, 78%, 32%) |
| HSV | hsv(338, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 55.2%, 43.9%) |
| CIE-LAB | lab(30.98, 51.56, 7.18) |
| CIE-LCH | lch(30.98, 52.05, 7.93°) |
| OKLab | oklab(42.56% 0.1575 0.0185) |
| OKLCH | oklch(42.56% 0.159 6.7) |
| XYZ | xyz(12.4706, 6.6443, 5.4753) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.45
Berry
#990F4B
ΔE00 2.96
Red Wine
#8C0034
ΔE00 3.05
Cranberry
#9E003A
ΔE00 4.13
Mulberry
#920A4E
ΔE00 4.37
Wine (survey)
#80013F
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1240 #128F61
analogous
#8F127F #8F1240 #8F2312
triadic
#8F1240 #408F12 #12408F
tetradic
#8F1240 #7F8F12 #128F61 #23128F
square
#8F1240 #7F8F12 #128F61 #23128F
split-complementary
#8F1240 #128F23 #127F8F
monochromatic
#22040F #590B28 #8F1240 #C51958 #E63676
Accessibility & contrast
On white
9.02
#8F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1240
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1240 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1240; /* rgb */ color: rgb(143, 18, 64); /* oklch */ color: oklch(42.6% 0.159 6.7);
Tailwind
colors: {
custom: {
50: '#b66274',
500: '#8f1240',
950: '#000000',
},
}SCSS
$custom: #8f1240; $custom-light: #b66274; $custom-dark: #000000;
JSON
{
"hex": "#8f1240",
"rgb": {
"r": 143,
"g": 18,
"b": 64
},
"hsl": {
"h": 337.92,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.42562,
"c": 0.15854,
"h": 6.7
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#8F1240
secondary
#3AC391
accent
#F4AD34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B