#511526#511526
#511526 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 7.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #511526 |
|---|---|
| RGB | rgb(81, 21, 38) |
| HSL | hsl(343, 59%, 20%) |
| HSV | hsv(343, 74%, 32%) |
| CMYK | cmyk(0%, 74.1%, 53.1%, 68.2%) |
| CIE-LAB | lab(17.58, 29.34, 4.34) |
| CIE-LCH | lch(17.58, 29.66, 8.42°) |
| OKLab | oklab(30.11% 0.0894 0.0113) |
| OKLCH | oklch(30.11% 0.09 7.2) |
| XYZ | xyz(4.0117, 2.4261, 2.0904) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.90
Maroon (survey)
#650021
ΔE00 5.96
Dark Maroon
#3C0008
ΔE00 7.02
Merlot
#730039
ΔE00 8.22
Claret
#680018
ΔE00 8.83
Wine
#722F37
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511526 #155140
analogous
#511544 #511526 #512215
triadic
#511526 #265115 #152651
tetradic
#511526 #445115 #155140 #221551
square
#511526 #445115 #155140 #221551
split-complementary
#511526 #155122 #154451
monochromatic
#18060B #20080F #511526 #82223D #B22E54
Accessibility & contrast
On white
14.14
#511526 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#511526 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511526
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511526 | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232426
Deuteranopia (green-blind)
#323025
Tritanopia (blue-blind)
#590B1C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #511526; /* rgb */ color: rgb(81, 21, 38); /* oklch */ color: oklch(30.1% 0.090 7.2);
Tailwind
colors: {
custom: {
50: '#865760',
500: '#511526',
950: '#000000',
},
}SCSS
$custom: #511526; $custom-light: #865760; $custom-dark: #000000;
JSON
{
"hex": "#511526",
"rgb": {
"r": 81,
"g": 21,
"b": 38
},
"hsl": {
"h": 343,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.30108,
"c": 0.09008,
"h": 7.2
},
"luminance": 0.02426
}Semantic roles & 50–950 ramp
primary
#511526
secondary
#398972
accent
#E2B646
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879