#8A1A4A#8A1A4A
#8A1A4A is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.151 H 0.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A4A |
|---|---|
| RGB | rgb(138, 26, 74) |
| HSL | hsl(334, 68%, 32%) |
| HSV | hsv(334, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 46.4%, 45.9%) |
| CIE-LAB | lab(30.97, 48.99, 0.40) |
| CIE-LCH | lch(30.97, 48.99, 0.46°) |
| OKLab | oklab(42.46% 0.1505 0.0016) |
| OKLCH | oklch(42.46% 0.151 0.6) |
| XYZ | xyz(12.0876, 6.6381, 7.1220) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.00
Reddish Purple
#910951
ΔE00 2.61
Red Purple
#820747
ΔE00 2.95
Berry
#990F4B
ΔE00 2.99
Wine (survey)
#80013F
ΔE00 3.36
Purple Red
#990147
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A4A #1A8A5A
analogous
#8A1A82 #8A1A4A #8A221A
triadic
#8A1A4A #4A8A1A #1A4A8A
tetradic
#8A1A4A #828A1A #1A8A5A #221A8A
square
#8A1A4A #828A1A #1A8A5A #221A8A
split-complementary
#8A1A4A #1A8A22 #1A828A
monochromatic
#230713 #57102E #8A1A4A #BD2466 #DC4384
Accessibility & contrast
On white
9.02
#8A1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A4A
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A4A | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1a4a; /* rgb */ color: rgb(138, 26, 74); /* oklch */ color: oklch(42.5% 0.151 0.6);
Tailwind
colors: {
custom: {
50: '#b1647c',
500: '#8a1a4a',
950: '#000000',
},
}SCSS
$custom: #8a1a4a; $custom-light: #b1647c; $custom-dark: #000000;
JSON
{
"hex": "#8a1a4a",
"rgb": {
"r": 138,
"g": 26,
"b": 74
},
"hsl": {
"h": 334.286,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42464,
"c": 0.15055,
"h": 0.6
},
"luminance": 0.06636
}Semantic roles & 50–950 ramp
primary
#8A1A4A
secondary
#43BD89
accent
#EBA03D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B