#511E41#511E41
#511E41 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.4% C 0.090 H 341.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #511E41 |
|---|---|
| RGB | rgb(81, 30, 65) |
| HSL | hsl(319, 46%, 22%) |
| HSV | hsv(319, 63%, 32%) |
| CMYK | cmyk(0%, 63%, 19.8%, 68.2%) |
| CIE-LAB | lab(20.28, 28.58, -10.64) |
| CIE-LCH | lch(20.28, 30.49, 339.58°) |
| OKLab | oklab(32.45% 0.0849 -0.0285) |
| OKLCH | oklch(32.45% 0.09 341.5) |
| XYZ | xyz(4.8118, 3.0599, 5.3372) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.64
Grape Purple
#5D1451
ΔE00 5.50
Aubergine
#3D0734
ΔE00 6.01
Dark Plum
#3F012C
ΔE00 6.41
Eggplant
#380835
ΔE00 7.00
Eggplant Purple
#430541
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511E41 #1E512E
analogous
#481E51 #511E41 #511E28
triadic
#511E41 #41511E #1E4151
tetradic
#511E41 #51481E #1E512E #1E2851
square
#511E41 #51481E #1E512E #1E2851
split-complementary
#511E41 #28511E #1E5148
monochromatic
#160812 #240D1D #511E41 #7E2F65 #AA3F89
Accessibility & contrast
On white
13.03
#511E41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#511E41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511E41
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511E41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511E41 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212C42
Deuteranopia (green-blind)
#303440
Tritanopia (blue-blind)
#561F2C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #511e41; /* rgb */ color: rgb(81, 30, 65); /* oklch */ color: oklch(32.4% 0.090 341.5);
Tailwind
colors: {
custom: {
50: '#845d75',
500: '#511e41',
950: '#000000',
},
}SCSS
$custom: #511e41; $custom-light: #845d75; $custom-dark: #000000;
JSON
{
"hex": "#511e41",
"rgb": {
"r": 81,
"g": 30,
"b": 65
},
"hsl": {
"h": 318.824,
"s": 45.946,
"l": 21.765
},
"oklch": {
"l": 0.32446,
"c": 0.08955,
"h": 341.5
},
"luminance": 0.0306
}Semantic roles & 50–950 ramp
primary
#511E41
secondary
#458659
accent
#D67B52
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B