#8D1238#8D1238
#8D1238 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 10.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1238 |
|---|---|
| RGB | rgb(141, 18, 56) |
| HSL | hsl(341, 77%, 31%) |
| HSV | hsv(341, 87%, 55%) |
| CMYK | cmyk(0%, 87.2%, 60.3%, 44.7%) |
| CIE-LAB | lab(30.36, 50.43, 11.58) |
| CIE-LCH | lch(30.36, 51.74, 12.94°) |
| OKLab | oklab(41.96% 0.1528 0.0288) |
| OKLCH | oklch(41.96% 0.155 10.7) |
| XYZ | xyz(11.9159, 6.3827, 4.3452) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.34
Cranberry
#9E003A
ΔE00 3.17
Bordeaux
#7B002C
ΔE00 4.15
Purple Red
#990147
ΔE00 4.59
Berry
#990F4B
ΔE00 5.22
Wine Red
#7B0323
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1238 #128D67
analogous
#8D1275 #8D1238 #8D2912
triadic
#8D1238 #388D12 #12388D
tetradic
#8D1238 #758D12 #128D67 #29128D
square
#8D1238 #758D12 #128D67 #29128D
split-complementary
#8D1238 #128D29 #12758D
monochromatic
#20040D #570B22 #8D1238 #C3194E #E5346B
Accessibility & contrast
On white
9.23
#8D1238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#8D1238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1238
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1238 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#9B0024
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8d1238; /* rgb */ color: rgb(141, 18, 56); /* oklch */ color: oklch(42.0% 0.155 10.7);
Tailwind
colors: {
custom: {
50: '#b5616e',
500: '#8d1238',
950: '#000000',
},
}SCSS
$custom: #8d1238; $custom-light: #b5616e; $custom-dark: #000000;
JSON
{
"hex": "#8d1238",
"rgb": {
"r": 141,
"g": 18,
"b": 56
},
"hsl": {
"h": 341.463,
"s": 77.358,
"l": 31.176
},
"oklch": {
"l": 0.41964,
"c": 0.15545,
"h": 10.7
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#8D1238
secondary
#39C197
accent
#F4B934
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A