#511E3F#511E3F
#511E3F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.088 H 343.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #511E3F |
|---|---|
| RGB | rgb(81, 30, 63) |
| HSL | hsl(321, 46%, 22%) |
| HSV | hsv(321, 63%, 32%) |
| CMYK | cmyk(0%, 63%, 22.2%, 68.2%) |
| CIE-LAB | lab(20.19, 28.23, -9.40) |
| CIE-LCH | lch(20.19, 29.76, 341.59°) |
| OKLab | oklab(32.35% 0.0843 -0.025) |
| OKLCH | oklch(32.35% 0.088 343.5) |
| XYZ | xyz(4.7549, 3.0372, 5.0375) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.84
Grape Purple
#5D1451
ΔE00 6.06
Aubergine
#3D0734
ΔE00 6.25
Dark Plum
#3F012C
ΔE00 6.37
Eggplant
#380835
ΔE00 7.31
Eggplant Purple
#430541
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511E3F #1E5130
analogous
#4A1E51 #511E3F #511E26
triadic
#511E3F #3F511E #1E3F51
tetradic
#511E3F #514A1E #1E5130 #1E2651
square
#511E3F #514A1E #1E5130 #1E2651
split-complementary
#511E3F #26511E #1E514A
monochromatic
#160811 #240D1C #511E3F #7E2F62 #AA3F84
Accessibility & contrast
On white
13.06
#511E3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#511E3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511E3F
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511E3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511E3F | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#30343E
Tritanopia (blue-blind)
#561E2B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #511e3f; /* rgb */ color: rgb(81, 30, 63); /* oklch */ color: oklch(32.4% 0.088 343.5);
Tailwind
colors: {
custom: {
50: '#845d74',
500: '#511e3f',
950: '#000000',
},
}SCSS
$custom: #511e3f; $custom-light: #845d74; $custom-dark: #000000;
JSON
{
"hex": "#511e3f",
"rgb": {
"r": 81,
"g": 30,
"b": 63
},
"hsl": {
"h": 321.176,
"s": 45.946,
"l": 21.765
},
"oklch": {
"l": 0.3235,
"c": 0.08797,
"h": 343.5
},
"luminance": 0.03037
}Semantic roles & 50–950 ramp
primary
#511E3F
secondary
#45865C
accent
#D68152
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B