#8A1A42#8A1A42
#8A1A42 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.148 H 5.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A42 |
|---|---|
| RGB | rgb(138, 26, 66) |
| HSL | hsl(339, 68%, 32%) |
| HSV | hsv(339, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.73, 48.26, 5.35) |
| CIE-LCH | lch(30.73, 48.56, 6.33°) |
| OKLab | oklab(42.21% 0.1476 0.014) |
| OKLCH | oklch(42.21% 0.148 5.4) |
| XYZ | xyz(11.8351, 6.5371, 5.7918) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.04
Berry
#990F4B
ΔE00 3.19
Wine (survey)
#80013F
ΔE00 3.87
Red Wine
#8C0034
ΔE00 3.92
Mulberry
#920A4E
ΔE00 3.99
Red Purple
#820747
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A42 #1A8A62
analogous
#8A1A7A #8A1A42 #8A2A1A
triadic
#8A1A42 #428A1A #1A428A
tetradic
#8A1A42 #7A8A1A #1A8A62 #2A1A8A
square
#8A1A42 #7A8A1A #1A8A62 #2A1A8A
split-complementary
#8A1A42 #1A8A2A #1A7A8A
monochromatic
#230711 #571029 #8A1A42 #BD245B #DC4379
Accessibility & contrast
On white
9.10
#8A1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A42
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A42 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#55503F
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1a42; /* rgb */ color: rgb(138, 26, 66); /* oklch */ color: oklch(42.2% 0.148 5.4);
Tailwind
colors: {
custom: {
50: '#b26376',
500: '#8a1a42',
950: '#000000',
},
}SCSS
$custom: #8a1a42; $custom-light: #b26376; $custom-dark: #000000;
JSON
{
"hex": "#8a1a42",
"rgb": {
"r": 138,
"g": 26,
"b": 66
},
"hsl": {
"h": 338.571,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.4221,
"c": 0.14824,
"h": 5.4
},
"luminance": 0.06535
}Semantic roles & 50–950 ramp
primary
#8A1A42
secondary
#43BD91
accent
#EBAD3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B