#802F5F#802F5F
#802F5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.125 H 346.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #802F5F |
|---|---|
| RGB | rgb(128, 47, 95) |
| HSL | hsl(324, 46%, 34%) |
| HSV | hsv(324, 63%, 50%) |
| CMYK | cmyk(0%, 63.3%, 25.8%, 49.8%) |
| CIE-LAB | lab(32.81, 40.34, -10.74) |
| CIE-LCH | lch(32.81, 41.75, 345.09°) |
| OKLab | oklab(43.72% 0.1217 -0.0283) |
| OKLCH | oklch(43.72% 0.125 346.9) |
| XYZ | xyz(11.9846, 7.4496, 11.6310) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 5.14
Bruise
#7E4071
ΔE00 5.34
Velvet
#750851
ΔE00 6.31
Reddish Purple
#910951
ΔE00 6.39
Dark Magenta
#960056
ΔE00 6.47
Red Violet
#9E0168
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802F5F #2F8050
analogous
#792F80 #802F5F #802F37
triadic
#802F5F #5F802F #2F5F80
tetradic
#802F5F #80792F #2F8050 #2F3780
square
#802F5F #80792F #2F8050 #2F3780
split-complementary
#802F5F #37802F #2F8079
monochromatic
#260E1D #531F3E #802F5F #AD3F80 #C6639E
Accessibility & contrast
On white
8.44
#802F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#802F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802F5F
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802F5F | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384460
Deuteranopia (green-blind)
#4F525D
Tritanopia (blue-blind)
#892D43
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #802f5f; /* rgb */ color: rgb(128, 47, 95); /* oklch */ color: oklch(43.7% 0.125 346.9);
Tailwind
colors: {
custom: {
50: '#a86d8c',
500: '#802f5f',
950: '#000000',
},
}SCSS
$custom: #802f5f; $custom-light: #a86d8c; $custom-dark: #000000;
JSON
{
"hex": "#802f5f",
"rgb": {
"r": 128,
"g": 47,
"b": 95
},
"hsl": {
"h": 324.444,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.43717,
"c": 0.12498,
"h": 346.9
},
"luminance": 0.07448
}Semantic roles & 50–950 ramp
primary
#802F5F
secondary
#5EAD7E
accent
#D68852
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D