#8A1A45#8A1A45
#8A1A45 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 3.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A45 |
|---|---|
| RGB | rgb(138, 26, 69) |
| HSL | hsl(337, 68%, 32%) |
| HSV | hsv(337, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 50%, 45.9%) |
| CIE-LAB | lab(30.82, 48.52, 3.48) |
| CIE-LCH | lch(30.82, 48.65, 4.11°) |
| OKLab | oklab(42.3% 0.1487 0.0094) |
| OKLCH | oklch(42.3% 0.149 3.6) |
| XYZ | xyz(11.9258, 6.5734, 6.2699) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.85
Purple Red
#990147
ΔE00 2.92
Mulberry
#920A4E
ΔE00 3.12
Wine (survey)
#80013F
ΔE00 3.45
Red Purple
#820747
ΔE00 3.94
Reddish Purple
#910951
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A45 #1A8A5F
analogous
#8A1A7D #8A1A45 #8A271A
triadic
#8A1A45 #458A1A #1A458A
tetradic
#8A1A45 #7D8A1A #1A8A5F #271A8A
square
#8A1A45 #7D8A1A #1A8A5F #271A8A
split-complementary
#8A1A45 #1A8A27 #1A7D8A
monochromatic
#230712 #57102B #8A1A45 #BD245F #DC437D
Accessibility & contrast
On white
9.07
#8A1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A45
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A45 | 1.00 | 9.07 | 2.31 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B46
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1a45; /* rgb */ color: rgb(138, 26, 69); /* oklch */ color: oklch(42.3% 0.149 3.6);
Tailwind
colors: {
custom: {
50: '#b26378',
500: '#8a1a45',
950: '#000000',
},
}SCSS
$custom: #8a1a45; $custom-light: #b26378; $custom-dark: #000000;
JSON
{
"hex": "#8a1a45",
"rgb": {
"r": 138,
"g": 26,
"b": 69
},
"hsl": {
"h": 336.964,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42302,
"c": 0.14902,
"h": 3.6
},
"luminance": 0.06572
}Semantic roles & 50–950 ramp
primary
#8A1A45
secondary
#43BD8E
accent
#EBA83D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B