#511B39#511B39
#511B39 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.089 H 349.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #511B39 |
|---|---|
| RGB | rgb(81, 27, 57) |
| HSL | hsl(327, 50%, 21%) |
| HSV | hsv(327, 67%, 32%) |
| CMYK | cmyk(0%, 66.7%, 29.6%, 68.2%) |
| CIE-LAB | lab(19.35, 28.85, -6.52) |
| CIE-LCH | lch(19.35, 29.58, 347.27°) |
| OKLab | oklab(31.64% 0.0874 -0.017) |
| OKLCH | oklch(31.64% 0.089 349) |
| XYZ | xyz(4.5240, 2.8290, 4.1779) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.24
Dark Plum
#3F012C
ΔE00 6.02
Aubergine
#3D0734
ΔE00 6.71
Grape Purple
#5D1451
ΔE00 7.30
Eggplant
#380835
ΔE00 7.99
Eggplant Purple
#430541
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511B39 #1B5133
analogous
#4E1B51 #511B39 #511B1E
triadic
#511B39 #39511B #1B3951
tetradic
#511B39 #514E1B #1B5133 #1B1E51
square
#511B39 #514E1B #1B5133 #1B1E51
split-complementary
#511B39 #1E511B #1B514E
monochromatic
#170810 #230C19 #511B39 #7F2A59 #AD3A7A
Accessibility & contrast
On white
13.41
#511B39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#511B39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511B39
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511B39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511B39 | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22293A
Deuteranopia (green-blind)
#313238
Tritanopia (blue-blind)
#571927
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #511b39; /* rgb */ color: rgb(81, 27, 57); /* oklch */ color: oklch(31.6% 0.089 349.0);
Tailwind
colors: {
custom: {
50: '#845b6f',
500: '#511b39',
950: '#000000',
},
}SCSS
$custom: #511b39; $custom-light: #845b6f; $custom-dark: #000000;
JSON
{
"hex": "#511b39",
"rgb": {
"r": 81,
"g": 27,
"b": 57
},
"hsl": {
"h": 326.667,
"s": 50,
"l": 21.176
},
"oklch": {
"l": 0.31639,
"c": 0.08901,
"h": 349
},
"luminance": 0.02829
}Semantic roles & 50–950 ramp
primary
#511B39
secondary
#418760
accent
#DA8C4E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A