#8A2A5E#8A2A5E
#8A2A5E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.141 H 350.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2A5E |
|---|---|
| RGB | rgb(138, 42, 94) |
| HSL | hsl(328, 53%, 35%) |
| HSV | hsv(328, 70%, 54%) |
| CMYK | cmyk(0%, 69.6%, 31.9%, 45.9%) |
| CIE-LAB | lab(33.71, 45.52, -8.57) |
| CIE-LCH | lch(33.71, 46.32, 349.34°) |
| OKLab | oklab(44.7% 0.1388 -0.0222) |
| OKLCH | oklch(44.7% 0.141 350.9) |
| XYZ | xyz(13.3303, 7.8688, 11.4043) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 4.42
Reddish Purple
#910951
ΔE00 4.46
Dark Fuchsia
#9D0759
ΔE00 4.71
Red Violet
#9E0168
ΔE00 4.90
Deep Magenta
#A0025C
ΔE00 4.93
Mulberry
#920A4E
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2A5E #2A8A56
analogous
#862A8A #8A2A5E #8A2A2E
triadic
#8A2A5E #5E8A2A #2A5E8A
tetradic
#8A2A5E #8A862A #2A8A56 #2A2E8A
square
#8A2A5E #8A862A #2A8A56 #2A2E8A
split-complementary
#8A2A5E #2E8A2A #2A8A86
monochromatic
#2C0D1E #5B1C3E #8A2A5E #B9387E #CF609C
Accessibility & contrast
On white
8.16
#8A2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8A2A5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A2A5E
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2A5E | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#942540
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8a2a5e; /* rgb */ color: rgb(138, 42, 94); /* oklch */ color: oklch(44.7% 0.141 350.9);
Tailwind
colors: {
custom: {
50: '#b06b8b',
500: '#8a2a5e',
950: '#000000',
},
}SCSS
$custom: #8a2a5e; $custom-light: #b06b8b; $custom-dark: #000000;
JSON
{
"hex": "#8a2a5e",
"rgb": {
"r": 138,
"g": 42,
"b": 94
},
"hsl": {
"h": 327.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.44704,
"c": 0.14056,
"h": 350.9
},
"luminance": 0.07867
}Semantic roles & 50–950 ramp
primary
#8A2A5E
secondary
#5BB484
accent
#DD8E4B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D