#8A1B42#8A1B42
#8A1B42 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.147 H 5.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B42 |
|---|---|
| RGB | rgb(138, 27, 66) |
| HSL | hsl(339, 67%, 32%) |
| HSV | hsv(339, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.84, 47.96, 5.50) |
| CIE-LCH | lch(30.84, 48.27, 6.55°) |
| OKLab | oklab(42.29% 0.1466 0.0144) |
| OKLCH | oklch(42.29% 0.147 5.6) |
| XYZ | xyz(11.8576, 6.5822, 5.7993) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.11
Berry
#990F4B
ΔE00 3.24
Red Wine
#8C0034
ΔE00 3.91
Wine (survey)
#80013F
ΔE00 4.00
Mulberry
#920A4E
ΔE00 4.10
Red Purple
#820747
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B42 #1B8A63
analogous
#8A1B7A #8A1B42 #8A2C1B
triadic
#8A1B42 #428A1B #1B428A
tetradic
#8A1B42 #7A8A1B #1B8A63 #2C1B8A
square
#8A1B42 #7A8A1B #1B8A63 #2C1B8A
split-complementary
#8A1B42 #1B8A2C #1B7A8A
monochromatic
#240711 #57112A #8A1B42 #BD255A #DB4579
Accessibility & contrast
On white
9.07
#8A1B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B42
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B42 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#55503F
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b42; /* rgb */ color: rgb(138, 27, 66); /* oklch */ color: oklch(42.3% 0.147 5.6);
Tailwind
colors: {
custom: {
50: '#b26476',
500: '#8a1b42',
950: '#000000',
},
}SCSS
$custom: #8a1b42; $custom-light: #b26476; $custom-dark: #000000;
JSON
{
"hex": "#8a1b42",
"rgb": {
"r": 138,
"g": 27,
"b": 66
},
"hsl": {
"h": 338.919,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42289,
"c": 0.1473,
"h": 5.6
},
"luminance": 0.0658
}Semantic roles & 50–950 ramp
primary
#8A1B42
secondary
#45BC92
accent
#EAAE3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B