#511525#511525
#511525 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 8.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #511525 |
|---|---|
| RGB | rgb(81, 21, 37) |
| HSL | hsl(344, 59%, 20%) |
| HSV | hsv(344, 74%, 32%) |
| CMYK | cmyk(0%, 74.1%, 54.3%, 68.2%) |
| CIE-LAB | lab(17.55, 29.24, 5.02) |
| CIE-LCH | lch(17.55, 29.66, 9.74°) |
| OKLab | oklab(30.08% 0.0889 0.013) |
| OKLCH | oklch(30.08% 0.09 8.3) |
| XYZ | xyz(3.9958, 2.4198, 2.0066) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.79
Maroon (survey)
#650021
ΔE00 5.77
Dark Maroon
#3C0008
ΔE00 6.75
Merlot
#730039
ΔE00 8.43
Claret
#680018
ΔE00 8.48
Deep Brown
#410200
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511525 #155141
analogous
#511543 #511525 #512315
triadic
#511525 #255115 #152551
tetradic
#511525 #435115 #155141 #231551
square
#511525 #435115 #155141 #231551
split-complementary
#511525 #155123 #154351
monochromatic
#18060B #20080F #511525 #82223B #B22E51
Accessibility & contrast
On white
14.15
#511525 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#511525 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511525
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511525 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511525 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232325
Deuteranopia (green-blind)
#322F24
Tritanopia (blue-blind)
#590B1B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #511525; /* rgb */ color: rgb(81, 21, 37); /* oklch */ color: oklch(30.1% 0.090 8.3);
Tailwind
colors: {
custom: {
50: '#86575f',
500: '#511525',
950: '#000000',
},
}SCSS
$custom: #511525; $custom-light: #86575f; $custom-dark: #000000;
JSON
{
"hex": "#511525",
"rgb": {
"r": 81,
"g": 21,
"b": 37
},
"hsl": {
"h": 344,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.30076,
"c": 0.08986,
"h": 8.3
},
"luminance": 0.02419
}Semantic roles & 50–950 ramp
primary
#511525
secondary
#398974
accent
#E2B846
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879