#802A5A#802A5A
#802A5A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.130 H 349.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #802A5A |
|---|---|
| RGB | rgb(128, 42, 90) |
| HSL | hsl(327, 51%, 33%) |
| HSV | hsv(327, 67%, 50%) |
| CMYK | cmyk(0%, 67.2%, 29.7%, 49.8%) |
| CIE-LAB | lab(31.77, 41.93, -9.09) |
| CIE-LCH | lch(31.77, 42.90, 347.77°) |
| OKLab | oklab(42.89% 0.1274 -0.0237) |
| OKLCH | oklch(42.89% 0.13 349.4) |
| XYZ | xyz(11.5760, 6.9845, 10.4094) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.27
Velvet
#750851
ΔE00 5.51
Dark Magenta
#960056
ΔE00 5.52
Red Purple
#820747
ΔE00 5.56
Mulberry
#920A4E
ΔE00 5.92
Grape
#6C3461
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802A5A #2A8050
analogous
#7B2A80 #802A5A #802A2F
triadic
#802A5A #5A802A #2A5A80
tetradic
#802A5A #807B2A #2A8050 #2A2F80
square
#802A5A #807B2A #2A8050 #2A2F80
split-complementary
#802A5A #2F802A #2A807B
monochromatic
#240C19 #521B3A #802A5A #AE397A #C95B99
Accessibility & contrast
On white
8.76
#802A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#802A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802A5A
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802A5A | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36415B
Deuteranopia (green-blind)
#4E5058
Tritanopia (blue-blind)
#89263E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #802a5a; /* rgb */ color: rgb(128, 42, 90); /* oklch */ color: oklch(42.9% 0.130 349.4);
Tailwind
colors: {
custom: {
50: '#a86a88',
500: '#802a5a',
950: '#000000',
},
}SCSS
$custom: #802a5a; $custom-light: #a86a88; $custom-dark: #000000;
JSON
{
"hex": "#802a5a",
"rgb": {
"r": 128,
"g": 42,
"b": 90
},
"hsl": {
"h": 326.512,
"s": 50.588,
"l": 33.333
},
"oklch": {
"l": 0.42888,
"c": 0.12958,
"h": 349.4
},
"luminance": 0.06983
}Semantic roles & 50–950 ramp
primary
#802A5A
secondary
#57AF7E
accent
#DA8C4E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C