#511127#511127
#511127 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 4.4°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #511127 |
|---|---|
| RGB | rgb(81, 17, 39) |
| HSL | hsl(339, 65%, 19%) |
| HSV | hsv(339, 79%, 32%) |
| CMYK | cmyk(0%, 79%, 51.9%, 68.2%) |
| CIE-LAB | lab(16.98, 31.20, 2.76) |
| CIE-LCH | lch(16.98, 31.33, 5.06°) |
| OKLab | oklab(29.67% 0.0954 0.0074) |
| OKLCH | oklch(29.67% 0.096 4.4) |
| XYZ | xyz(3.9603, 2.2972, 2.1539) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.85
Maroon (survey)
#650021
ΔE00 6.22
Dark Maroon
#3C0008
ΔE00 7.50
Merlot
#730039
ΔE00 7.53
Dark Plum
#3F012C
ΔE00 8.50
Plum (survey)
#580F41
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511127 #11513B
analogous
#511147 #511127 #511B11
triadic
#511127 #275111 #112751
tetradic
#511127 #475111 #11513B #1B1151
square
#511127 #475111 #11513B #1B1151
split-complementary
#511127 #11511B #114751
monochromatic
#19050C #1E060F #511127 #841C3F #B62658
Accessibility & contrast
On white
14.39
#511127 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#511127 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511127
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511127 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511127 | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#312E25
Tritanopia (blue-blind)
#59061A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #511127; /* rgb */ color: rgb(81, 17, 39); /* oklch */ color: oklch(29.7% 0.096 4.4);
Tailwind
colors: {
custom: {
50: '#865560',
500: '#511127',
950: '#000000',
},
}SCSS
$custom: #511127; $custom-light: #865560; $custom-dark: #000000;
JSON
{
"hex": "#511127",
"rgb": {
"r": 81,
"g": 17,
"b": 39
},
"hsl": {
"h": 339.375,
"s": 65.306,
"l": 19.216
},
"oklch": {
"l": 0.29669,
"c": 0.0957,
"h": 4.4
},
"luminance": 0.02297
}Semantic roles & 50–950 ramp
primary
#511127
secondary
#348A6C
accent
#E8AE40
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879