#8A2A57#8A2A57
#8A2A57 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.137 H 355.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A57 |
|---|---|
| RGB | rgb(138, 42, 87) |
| HSL | hsl(332, 53%, 35%) |
| HSV | hsv(332, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 37%, 45.9%) |
| CIE-LAB | lab(33.45, 44.65, -4.44) |
| CIE-LCH | lch(33.45, 44.87, 354.32°) |
| OKLab | oklab(44.43% 0.1366 -0.0111) |
| OKLCH | oklch(44.43% 0.137 355.3) |
| XYZ | xyz(13.0303, 7.7488, 9.8245) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.70
Mulberry
#920A4E
ΔE00 3.95
Dark Magenta
#960056
ΔE00 4.18
Dark Fuchsia
#9D0759
ΔE00 4.35
Deep Magenta
#A0025C
ΔE00 4.83
Red Purple
#820747
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A57 #2A8A5D
analogous
#8A2A87 #8A2A57 #8A2D2A
triadic
#8A2A57 #578A2A #2A578A
tetradic
#8A2A57 #878A2A #2A8A5D #2D2A8A
square
#8A2A57 #878A2A #2A8A5D #2D2A8A
split-complementary
#8A2A57 #2A8A2D #2A878A
monochromatic
#2C0D1C #5B1C39 #8A2A57 #B93875 #CF6094
Accessibility & contrast
On white
8.24
#8A2A57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8A2A57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A57
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A57 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4358
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#95223D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2a57; /* rgb */ color: rgb(138, 42, 87); /* oklch */ color: oklch(44.4% 0.137 355.3);
Tailwind
colors: {
custom: {
50: '#b06b86',
500: '#8a2a57',
950: '#000000',
},
}SCSS
$custom: #8a2a57; $custom-light: #b06b86; $custom-dark: #000000;
JSON
{
"hex": "#8a2a57",
"rgb": {
"r": 138,
"g": 42,
"b": 87
},
"hsl": {
"h": 331.875,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.44433,
"c": 0.13709,
"h": 355.3
},
"luminance": 0.07747
}Semantic roles & 50–950 ramp
primary
#8A2A57
secondary
#5BB48B
accent
#DD984B
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C