#8A1A48#8A1A48
#8A1A48 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.150 H 1.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1A48 |
|---|---|
| RGB | rgb(138, 26, 72) |
| HSL | hsl(335, 68%, 32%) |
| HSV | hsv(335, 81%, 54%) |
| CMYK | cmyk(0%, 81.2%, 47.8%, 45.9%) |
| CIE-LAB | lab(30.91, 48.80, 1.63) |
| CIE-LCH | lch(30.91, 48.83, 1.91°) |
| OKLab | oklab(42.4% 0.1498 0.0047) |
| OKLCH | oklch(42.4% 0.15 1.8) |
| XYZ | xyz(12.0213, 6.6116, 6.7728) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.38
Berry
#990F4B
ΔE00 2.83
Purple Red
#990147
ΔE00 3.12
Reddish Purple
#910951
ΔE00 3.13
Red Purple
#820747
ΔE00 3.28
Wine (survey)
#80013F
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1A48 #1A8A5C
analogous
#8A1A80 #8A1A48 #8A241A
triadic
#8A1A48 #488A1A #1A488A
tetradic
#8A1A48 #808A1A #1A8A5C #241A8A
square
#8A1A48 #808A1A #1A8A5C #241A8A
split-complementary
#8A1A48 #1A8A24 #1A808A
monochromatic
#230712 #57102D #8A1A48 #BD2463 #DC4382
Accessibility & contrast
On white
9.04
#8A1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1A48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1A48
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1A48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1A48 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1a48; /* rgb */ color: rgb(138, 26, 72); /* oklch */ color: oklch(42.4% 0.150 1.8);
Tailwind
colors: {
custom: {
50: '#b1637a',
500: '#8a1a48',
950: '#000000',
},
}SCSS
$custom: #8a1a48; $custom-light: #b1637a; $custom-dark: #000000;
JSON
{
"hex": "#8a1a48",
"rgb": {
"r": 138,
"g": 26,
"b": 72
},
"hsl": {
"h": 335.357,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42398,
"c": 0.14989,
"h": 1.8
},
"luminance": 0.0661
}Semantic roles & 50–950 ramp
primary
#8A1A48
secondary
#43BD8B
accent
#EBA33D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B