#802B5F#802B5F
#802B5F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.131 H 346.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #802B5F |
|---|---|
| RGB | rgb(128, 43, 95) |
| HSL | hsl(323, 50%, 34%) |
| HSV | hsv(323, 66%, 50%) |
| CMYK | cmyk(0%, 66.4%, 25.8%, 49.8%) |
| CIE-LAB | lab(32.13, 42.19, -11.77) |
| CIE-LCH | lch(32.13, 43.80, 344.41°) |
| OKLab | oklab(43.22% 0.1274 -0.0311) |
| OKLCH | oklch(43.22% 0.131 346.3) |
| XYZ | xyz(11.8320, 7.1443, 11.5801) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.21
Velvet
#750851
ΔE00 5.54
Bruise
#7E4071
ΔE00 5.75
Red Violet
#9E0168
ΔE00 6.14
Reddish Purple
#910951
ΔE00 6.14
Dark Magenta
#960056
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802B5F #2B804C
analogous
#762B80 #802B5F #802B34
triadic
#802B5F #5F802B #2B5F80
tetradic
#802B5F #80762B #2B804C #2B3480
square
#802B5F #80762B #2B804C #2B3480
split-complementary
#802B5F #34802B #2B8076
monochromatic
#240C1B #521C3D #802B5F #AE3A81 #C95D9F
Accessibility & contrast
On white
8.65
#802B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#802B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802B5F
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802B5F | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#892941
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #802b5f; /* rgb */ color: rgb(128, 43, 95); /* oklch */ color: oklch(43.2% 0.131 346.3);
Tailwind
colors: {
custom: {
50: '#a86a8c',
500: '#802b5f',
950: '#000000',
},
}SCSS
$custom: #802b5f; $custom-light: #a86a8c; $custom-dark: #000000;
JSON
{
"hex": "#802b5f",
"rgb": {
"r": 128,
"g": 43,
"b": 95
},
"hsl": {
"h": 323.294,
"s": 49.708,
"l": 33.529
},
"oklch": {
"l": 0.43219,
"c": 0.13114,
"h": 346.3
},
"luminance": 0.07143
}Semantic roles & 50–950 ramp
primary
#802B5F
secondary
#58AE7A
accent
#D9844F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D