#8F1338#8F1338
#8F1338 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.157 H 11.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1338 |
|---|---|
| RGB | rgb(143, 19, 56) |
| HSL | hsl(342, 77%, 32%) |
| HSV | hsv(342, 87%, 56%) |
| CMYK | cmyk(0%, 86.7%, 60.8%, 43.9%) |
| CIE-LAB | lab(30.86, 50.75, 12.34) |
| CIE-LCH | lch(30.86, 52.23, 13.66°) |
| OKLab | oklab(42.41% 0.1535 0.0306) |
| OKLCH | oklch(42.41% 0.157 11.3) |
| XYZ | xyz(12.2757, 6.5928, 4.3668) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.63
Cranberry
#9E003A
ΔE00 2.75
Bordeaux
#7B002C
ΔE00 4.54
Purple Red
#990147
ΔE00 4.76
Berry
#990F4B
ΔE00 5.37
Wine Red
#7B0323
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1338 #138F6A
analogous
#8F1376 #8F1338 #8F2C13
triadic
#8F1338 #388F13 #13388F
tetradic
#8F1338 #768F13 #138F6A #2C138F
square
#8F1338 #768F13 #138F6A #2C138F
split-complementary
#8F1338 #138F2C #13768F
monochromatic
#23050E #590C23 #8F1338 #C51A4D #E5386B
Accessibility & contrast
On white
9.06
#8F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8F1338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1338
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1338 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1338; /* rgb */ color: rgb(143, 19, 56); /* oklch */ color: oklch(42.4% 0.157 11.3);
Tailwind
colors: {
custom: {
50: '#b7626e',
500: '#8f1338',
950: '#000000',
},
}SCSS
$custom: #8f1338; $custom-light: #b7626e; $custom-dark: #000000;
JSON
{
"hex": "#8f1338",
"rgb": {
"r": 143,
"g": 19,
"b": 56
},
"hsl": {
"h": 342.097,
"s": 76.543,
"l": 31.765
},
"oklch": {
"l": 0.42408,
"c": 0.15655,
"h": 11.3
},
"luminance": 0.06591
}Semantic roles & 50–950 ramp
primary
#8F1338
secondary
#3BC39A
accent
#F3BA35
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A