#8B1A42#8B1A42
#8B1A42 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 5.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1A42 |
|---|---|
| RGB | rgb(139, 26, 66) |
| HSL | hsl(339, 68%, 32%) |
| HSV | hsv(339, 81%, 55%) |
| CMYK | cmyk(0%, 81.3%, 52.5%, 45.5%) |
| CIE-LAB | lab(30.93, 48.55, 5.67) |
| CIE-LCH | lch(30.93, 48.88, 6.66°) |
| OKLab | oklab(42.4% 0.1484 0.0148) |
| OKLCH | oklch(42.4% 0.149 5.7) |
| XYZ | xyz(12.0013, 6.6228, 5.7996) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.93
Berry
#990F4B
ΔE00 3.10
Red Wine
#8C0034
ΔE00 3.81
Mulberry
#920A4E
ΔE00 4.06
Wine (survey)
#80013F
ΔE00 4.07
Red Purple
#820747
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1A42 #1A8B63
analogous
#8B1A7B #8B1A42 #8B2A1A
triadic
#8B1A42 #428B1A #1A428B
tetradic
#8B1A42 #7B8B1A #1A8B63 #2A1A8B
square
#8B1A42 #7B8B1A #1A8B63 #2A1A8B
split-complementary
#8B1A42 #1A8B2A #1A7B8B
monochromatic
#240711 #57102A #8B1A42 #BF245A #DC4379
Accessibility & contrast
On white
9.04
#8B1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8B1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1A42
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1A42 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 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: #8b1a42; /* rgb */ color: rgb(139, 26, 66); /* oklch */ color: oklch(42.4% 0.149 5.7);
Tailwind
colors: {
custom: {
50: '#b36376',
500: '#8b1a42',
950: '#000000',
},
}SCSS
$custom: #8b1a42; $custom-light: #b36376; $custom-dark: #000000;
JSON
{
"hex": "#8b1a42",
"rgb": {
"r": 139,
"g": 26,
"b": 66
},
"hsl": {
"h": 338.761,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.42396,
"c": 0.14914,
"h": 5.7
},
"luminance": 0.06621
}Semantic roles & 50–950 ramp
primary
#8B1A42
secondary
#44BD92
accent
#EBAD3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B