#8A1A44#8A1A44
#8A1A44 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 4.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A44 |
|---|---|
| RGB | rgb(138, 26, 68) |
| HSL | hsl(338, 68%, 32%) |
| HSV | hsv(338, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 50.7%, 45.9%) |
| CIE-LAB | lab(30.79, 48.44, 4.11) |
| CIE-LCH | lch(30.79, 48.61, 4.84°) |
| OKLab | oklab(42.27% 0.1483 0.0109) |
| OKLCH | oklch(42.27% 0.149 4.2) |
| XYZ | xyz(11.8951, 6.5611, 6.1078) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.92
Berry
#990F4B
ΔE00 2.93
Mulberry
#920A4E
ΔE00 3.40
Wine (survey)
#80013F
ΔE00 3.56
Red Purple
#820747
ΔE00 4.19
Reddish Purple
#910951
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A44 #1A8A60
analogous
#8A1A7C #8A1A44 #8A281A
triadic
#8A1A44 #448A1A #1A448A
tetradic
#8A1A44 #7C8A1A #1A8A60 #281A8A
square
#8A1A44 #7C8A1A #1A8A60 #281A8A
split-complementary
#8A1A44 #1A8A28 #1A7C8A
monochromatic
#230711 #57102B #8A1A44 #BD245D #DC437C
Accessibility & contrast
On white
9.08
#8A1A44 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1A44 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A44
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A44 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A44 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A45
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1a44; /* rgb */ color: rgb(138, 26, 68); /* oklch */ color: oklch(42.3% 0.149 4.2);
Tailwind
colors: {
custom: {
50: '#b26377',
500: '#8a1a44',
950: '#000000',
},
}SCSS
$custom: #8a1a44; $custom-light: #b26377; $custom-dark: #000000;
JSON
{
"hex": "#8a1a44",
"rgb": {
"r": 138,
"g": 26,
"b": 68
},
"hsl": {
"h": 337.5,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42271,
"c": 0.14874,
"h": 4.2
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#8A1A44
secondary
#43BD8F
accent
#EBAA3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B