#8B1438#8B1438
#8B1438 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.152 H 10.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1438 |
|---|---|
| RGB | rgb(139, 20, 56) |
| HSL | hsl(342, 75%, 31%) |
| HSV | hsv(342, 86%, 55%) |
| CMYK | cmyk(0%, 85.6%, 59.7%, 45.5%) |
| CIE-LAB | lab(30.10, 49.40, 11.16) |
| CIE-LCH | lch(30.10, 50.64, 12.73°) |
| OKLab | oklab(41.7% 0.1497 0.0279) |
| OKLCH | oklch(41.7% 0.152 10.5) |
| XYZ | xyz(11.6126, 6.2766, 4.3406) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.44
Cranberry
#9E003A
ΔE00 3.57
Bordeaux
#7B002C
ΔE00 3.92
Purple Red
#990147
ΔE00 4.69
Berry
#990F4B
ΔE00 5.28
Wine Red
#7B0323
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1438 #148B67
analogous
#8B1473 #8B1438 #8B2B14
triadic
#8B1438 #388B14 #14388B
tetradic
#8B1438 #738B14 #148B67 #2B148B
square
#8B1438 #738B14 #148B67 #2B148B
split-complementary
#8B1438 #148B2B #14738B
monochromatic
#20050D #550C22 #8B1438 #C11C4E #E2376B
Accessibility & contrast
On white
9.31
#8B1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#8B1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1438
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1438 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#990025
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8b1438; /* rgb */ color: rgb(139, 20, 56); /* oklch */ color: oklch(41.7% 0.152 10.5);
Tailwind
colors: {
custom: {
50: '#b3616e',
500: '#8b1438',
950: '#000000',
},
}SCSS
$custom: #8b1438; $custom-light: #b3616e; $custom-dark: #000000;
JSON
{
"hex": "#8b1438",
"rgb": {
"r": 139,
"g": 20,
"b": 56
},
"hsl": {
"h": 341.849,
"s": 74.843,
"l": 31.176
},
"oklch": {
"l": 0.41699,
"c": 0.15227,
"h": 10.5
},
"luminance": 0.06275
}Semantic roles & 50–950 ramp
primary
#8B1438
secondary
#3CBF97
accent
#F1B936
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A