#8F1538#8F1538
#8F1538 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.155 H 11.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1538 |
|---|---|
| RGB | rgb(143, 21, 56) |
| HSL | hsl(343, 74%, 32%) |
| HSV | hsv(343, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 60.8%, 43.9%) |
| CIE-LAB | lab(31.03, 50.27, 12.56) |
| CIE-LCH | lch(31.03, 51.82, 14.03°) |
| OKLab | oklab(42.53% 0.152 0.0311) |
| OKLCH | oklch(42.53% 0.155 11.6) |
| XYZ | xyz(12.3110, 6.6634, 4.3785) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.83
Cranberry
#9E003A
ΔE00 2.76
Bordeaux
#7B002C
ΔE00 4.66
Purple Red
#990147
ΔE00 4.93
Berry
#990F4B
ΔE00 5.51
Wine Red
#7B0323
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1538 #158F6C
analogous
#8F1575 #8F1538 #8F2F15
triadic
#8F1538 #388F15 #15388F
tetradic
#8F1538 #758F15 #158F6C #2F158F
square
#8F1538 #758F15 #158F6C #2F158F
split-complementary
#8F1538 #158F2F #15758F
monochromatic
#24050E #5A0D23 #8F1538 #C41D4D #E23C6C
Accessibility & contrast
On white
9.00
#8F1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8F1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1538
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1538 | 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)
#3A3938
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9D0025
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1538; /* rgb */ color: rgb(143, 21, 56); /* oklch */ color: oklch(42.5% 0.155 11.6);
Tailwind
colors: {
custom: {
50: '#b7626e',
500: '#8f1538',
950: '#000000',
},
}SCSS
$custom: #8f1538; $custom-light: #b7626e; $custom-dark: #000000;
JSON
{
"hex": "#8f1538",
"rgb": {
"r": 143,
"g": 21,
"b": 56
},
"hsl": {
"h": 342.787,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.42531,
"c": 0.15514,
"h": 11.6
},
"luminance": 0.06661
}Semantic roles & 50–950 ramp
primary
#8F1538
secondary
#3EC29C
accent
#F1BC37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A