#802546#802546
#802546 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.128 H 2.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #802546 |
|---|---|
| RGB | rgb(128, 37, 70) |
| HSL | hsl(338, 55%, 32%) |
| HSV | hsv(338, 71%, 50%) |
| CMYK | cmyk(0%, 71.1%, 45.3%, 49.8%) |
| CIE-LAB | lab(30.29, 41.66, 1.82) |
| CIE-LCH | lch(30.29, 41.70, 2.50°) |
| OKLab | oklab(41.57% 0.1275 0.0052) |
| OKLCH | oklch(41.57% 0.128 2.3) |
| XYZ | xyz(10.6699, 6.3559, 6.4581) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.06
Red Purple
#820747
ΔE00 4.23
Mulberry
#920A4E
ΔE00 4.59
Berry
#990F4B
ΔE00 4.97
Reddish Purple
#910951
ΔE00 5.06
Purple Red
#990147
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#802546 #25805F
analogous
#802574 #802546 #803225
triadic
#802546 #468025 #254680
tetradic
#802546 #748025 #25805F #322580
square
#802546 #748025 #25805F #322580
split-complementary
#802546 #258032 #257480
monochromatic
#210A12 #51172C #802546 #AF3360 #CD527F
Accessibility & contrast
On white
9.25
#802546 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#802546 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #802546
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##802546 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##802546 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#8B1832
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #802546; /* rgb */ color: rgb(128, 37, 70); /* oklch */ color: oklch(41.6% 0.128 2.3);
Tailwind
colors: {
custom: {
50: '#a96779',
500: '#802546',
950: '#000000',
},
}SCSS
$custom: #802546; $custom-light: #a96779; $custom-dark: #000000;
JSON
{
"hex": "#802546",
"rgb": {
"r": 128,
"g": 37,
"b": 70
},
"hsl": {
"h": 338.242,
"s": 55.152,
"l": 32.353
},
"oklch": {
"l": 0.41568,
"c": 0.12758,
"h": 2.3
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#802546
secondary
#50B18E
accent
#DEA849
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B