#511128#511128
#511128 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 3.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).
Color values
| HEX | #511128 |
|---|---|
| RGB | rgb(81, 17, 40) |
| HSL | hsl(338, 65%, 19%) |
| HSV | hsv(338, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 50.6%, 68.2%) |
| CIE-LAB | lab(17.01, 31.31, 2.09) |
| CIE-LCH | lch(17.01, 31.38, 3.82°) |
| OKLab | oklab(29.7% 0.0958 0.0057) |
| OKLCH | oklch(29.7% 0.096 3.4) |
| XYZ | xyz(3.9771, 2.3039, 2.2423) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.09
Maroon (survey)
#650021
ΔE00 6.51
Merlot
#730039
ΔE00 7.40
Dark Maroon
#3C0008
ΔE00 7.82
Dark Plum
#3F012C
ΔE00 8.14
Plum (survey)
#580F41
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511128 #11513A
analogous
#511148 #511128 #511A11
triadic
#511128 #285111 #112851
tetradic
#511128 #485111 #11513A #1A1151
square
#511128 #485111 #11513A #1A1151
split-complementary
#511128 #11511A #114851
monochromatic
#19050C #1E060F #511128 #841C41 #B6265A
Accessibility & contrast
On white
14.38
#511128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#511128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511128
14.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511128 | 1.00 | 14.38 | 1.46 | 14.38 |
| #FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202229
Deuteranopia (green-blind)
#312E26
Tritanopia (blue-blind)
#59061B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511128; /* rgb */ color: rgb(81, 17, 40); /* oklch */ color: oklch(29.7% 0.096 3.4);
Tailwind
colors: {
custom: {
50: '#865561',
500: '#511128',
950: '#000000',
},
}SCSS
$custom: #511128; $custom-light: #865561; $custom-dark: #000000;
JSON
{
"hex": "#511128",
"rgb": {
"r": 81,
"g": 17,
"b": 40
},
"hsl": {
"h": 338.438,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29704,
"c": 0.096,
"h": 3.4
},
"luminance": 0.02303
}Semantic roles & 50–950 ramp
primary
#511128
secondary
#348A6B
accent
#E8AC40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879