#802F56#802F56
#802F56 is a dark, moderate pink. Relative luminance 0.073; OKLCH L 43.4% C 0.120 H 353.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #802F56 |
|---|---|
| RGB | rgb(128, 47, 86) |
| HSL | hsl(331, 46%, 34%) |
| HSV | hsv(331, 63%, 50%) |
| CMYK | cmyk(0%, 63.3%, 32.8%, 49.8%) |
| CIE-LAB | lab(32.47, 39.08, -5.45) |
| CIE-LCH | lch(32.47, 39.46, 352.07°) |
| OKLab | oklab(43.36% 0.119 -0.0139) |
| OKLCH | oklch(43.36% 0.12 353.3) |
| XYZ | xyz(11.5989, 7.2953, 9.5996) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 5.42
Red Purple
#820747
ΔE00 5.65
Mulberry
#920A4E
ΔE00 5.72
Dark Magenta
#960056
ΔE00 6.00
Dark Fuchsia
#9D0759
ΔE00 6.44
Deep Magenta
#A0025C
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802F56 #2F8059
analogous
#802F7F #802F56 #80302F
triadic
#802F56 #56802F #2F5680
tetradic
#802F56 #7F802F #2F8059 #302F80
square
#802F56 #7F802F #2F8059 #302F80
split-complementary
#802F56 #2F8030 #2F7F80
monochromatic
#260E1A #531F38 #802F56 #AD3F74 #C66393
Accessibility & contrast
On white
8.54
#802F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#802F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802F56
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802F56 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#8A2A3F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #802f56; /* rgb */ color: rgb(128, 47, 86); /* oklch */ color: oklch(43.4% 0.120 353.3);
Tailwind
colors: {
custom: {
50: '#a86c85',
500: '#802f56',
950: '#000000',
},
}SCSS
$custom: #802f56; $custom-light: #a86c85; $custom-dark: #000000;
JSON
{
"hex": "#802f56",
"rgb": {
"r": 128,
"g": 47,
"b": 86
},
"hsl": {
"h": 331.111,
"s": 46.286,
"l": 34.314
},
"oklch": {
"l": 0.43355,
"c": 0.11981,
"h": 353.3
},
"luminance": 0.07294
}Semantic roles & 50–950 ramp
primary
#802F56
secondary
#5EAD87
accent
#D69652
background
#FAF6F8
surface
#F4ECEF
border
#CEC7CA
text
#10070B
muted
#7F7A7C