#802A5D#802A5D
#802A5D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.131 H 347.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #802A5D |
|---|---|
| RGB | rgb(128, 42, 93) |
| HSL | hsl(324, 51%, 33%) |
| HSV | hsv(324, 67%, 50%) |
| CMYK | cmyk(0%, 67.2%, 27.3%, 49.8%) |
| CIE-LAB | lab(31.89, 42.35, -10.85) |
| CIE-LCH | lch(31.89, 43.71, 345.63°) |
| OKLab | oklab(43.01% 0.1282 -0.0286) |
| OKLCH | oklch(43.01% 0.131 347.4) |
| XYZ | xyz(11.7063, 7.0366, 11.0955) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 5.37
Grape
#6C3461
ΔE00 5.50
Reddish Purple
#910951
ΔE00 5.75
Dark Magenta
#960056
ΔE00 5.83
Red Violet
#9E0168
ΔE00 6.13
Red Purple
#820747
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802A5D #2A804D
analogous
#782A80 #802A5D #802A32
triadic
#802A5D #5D802A #2A5D80
tetradic
#802A5D #80782A #2A804D #2A3280
square
#802A5D #80782A #2A804D #2A3280
split-complementary
#802A5D #32802A #2A8078
monochromatic
#240C1A #521B3C #802A5D #AE397E #C95B9C
Accessibility & contrast
On white
8.72
#802A5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#802A5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802A5D
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802A5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802A5D | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34425F
Deuteranopia (green-blind)
#4D505B
Tritanopia (blue-blind)
#89283F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #802a5d; /* rgb */ color: rgb(128, 42, 93); /* oklch */ color: oklch(43.0% 0.131 347.4);
Tailwind
colors: {
custom: {
50: '#a86a8b',
500: '#802a5d',
950: '#000000',
},
}SCSS
$custom: #802a5d; $custom-light: #a86a8b; $custom-dark: #000000;
JSON
{
"hex": "#802a5d",
"rgb": {
"r": 128,
"g": 42,
"b": 93
},
"hsl": {
"h": 324.419,
"s": 50.588,
"l": 33.333
},
"oklch": {
"l": 0.43014,
"c": 0.13136,
"h": 347.4
},
"luminance": 0.07035
}Semantic roles & 50–950 ramp
primary
#802A5D
secondary
#57AF7B
accent
#DA874E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D