#8F1242#8F1242
#8F1242 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.159 H 5.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1242 |
|---|---|
| RGB | rgb(143, 18, 66) |
| HSL | hsl(337, 78%, 32%) |
| HSV | hsv(337, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 53.8%, 43.9%) |
| CIE-LAB | lab(31.04, 51.72, 5.93) |
| CIE-LCH | lch(31.04, 52.05, 6.54°) |
| OKLab | oklab(42.62% 0.1582 0.0155) |
| OKLCH | oklch(42.62% 0.159 5.6) |
| XYZ | xyz(12.5286, 6.6674, 5.7804) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.08
Berry
#990F4B
ΔE00 2.49
Red Wine
#8C0034
ΔE00 3.63
Mulberry
#920A4E
ΔE00 3.72
Wine (survey)
#80013F
ΔE00 4.11
Cranberry
#9E003A
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1242 #128F5F
analogous
#8F1281 #8F1242 #8F2112
triadic
#8F1242 #428F12 #12428F
tetradic
#8F1242 #818F12 #128F5F #21128F
square
#8F1242 #818F12 #128F5F #21128F
split-complementary
#8F1242 #128F21 #12818F
monochromatic
#220410 #590B29 #8F1242 #C5195B #E63679
Accessibility & contrast
On white
9.00
#8F1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1242
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1242 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#56523F
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1242; /* rgb */ color: rgb(143, 18, 66); /* oklch */ color: oklch(42.6% 0.159 5.6);
Tailwind
colors: {
custom: {
50: '#b66276',
500: '#8f1242',
950: '#000000',
},
}SCSS
$custom: #8f1242; $custom-light: #b66276; $custom-dark: #000000;
JSON
{
"hex": "#8f1242",
"rgb": {
"r": 143,
"g": 18,
"b": 66
},
"hsl": {
"h": 336.96,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.4262,
"c": 0.15898,
"h": 5.6
},
"luminance": 0.06666
}Semantic roles & 50–950 ramp
primary
#8F1242
secondary
#3AC38E
accent
#F4AA34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B