#8B1B42#8B1B42
#8B1B42 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.148 H 5.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1B42 |
|---|---|
| RGB | rgb(139, 27, 66) |
| HSL | hsl(339, 67%, 33%) |
| HSV | hsv(339, 81%, 55%) |
| CMYK | cmyk(0%, 80.6%, 52.5%, 45.5%) |
| CIE-LAB | lab(31.04, 48.25, 5.82) |
| CIE-LCH | lch(31.04, 48.60, 6.88°) |
| OKLab | oklab(42.47% 0.1474 0.0152) |
| OKLCH | oklch(42.47% 0.148 5.9) |
| XYZ | xyz(12.0239, 6.6679, 5.8071) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.01
Berry
#990F4B
ΔE00 3.16
Red Wine
#8C0034
ΔE00 3.80
Mulberry
#920A4E
ΔE00 4.18
Wine (survey)
#80013F
ΔE00 4.20
Cranberry
#9E003A
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1B42 #1B8B64
analogous
#8B1B7A #8B1B42 #8B2C1B
triadic
#8B1B42 #428B1B #1B428B
tetradic
#8B1B42 #7A8B1B #1B8B64 #2C1B8B
square
#8B1B42 #7A8B1B #1B8B64 #2C1B8B
split-complementary
#8B1B42 #1B8B2C #1B7A8B
monochromatic
#250711 #58112A #8B1B42 #BE255A #DB457A
Accessibility & contrast
On white
9.00
#8B1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8B1B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1B42
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1B42 | 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)
#383B43
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#98002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b1b42; /* rgb */ color: rgb(139, 27, 66); /* oklch */ color: oklch(42.5% 0.148 5.9);
Tailwind
colors: {
custom: {
50: '#b36476',
500: '#8b1b42',
950: '#000000',
},
}SCSS
$custom: #8b1b42; $custom-light: #b36476; $custom-dark: #000000;
JSON
{
"hex": "#8b1b42",
"rgb": {
"r": 139,
"g": 27,
"b": 66
},
"hsl": {
"h": 339.107,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.42474,
"c": 0.14821,
"h": 5.9
},
"luminance": 0.06666
}Semantic roles & 50–950 ramp
primary
#8B1B42
secondary
#45BC93
accent
#EAAE3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B