#511F3F#511F3F
#511F3F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.086 H 343.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #511F3F |
|---|---|
| RGB | rgb(81, 31, 63) |
| HSL | hsl(322, 45%, 22%) |
| HSV | hsv(322, 62%, 32%) |
| CMYK | cmyk(0%, 61.7%, 22.2%, 68.2%) |
| CIE-LAB | lab(20.40, 27.69, -9.09) |
| CIE-LCH | lch(20.40, 29.14, 341.83°) |
| OKLab | oklab(32.5% 0.0827 -0.0242) |
| OKLCH | oklch(32.5% 0.086 343.7) |
| XYZ | xyz(4.7806, 3.0886, 5.0460) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.12
Grape Purple
#5D1451
ΔE00 6.30
Aubergine
#3D0734
ΔE00 6.47
Dark Plum
#3F012C
ΔE00 6.58
Eggplant
#380835
ΔE00 7.52
Eggplant Purple
#430541
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F3F #1F5131
analogous
#4A1F51 #511F3F #511F26
triadic
#511F3F #3F511F #1F3F51
tetradic
#511F3F #514A1F #1F5131 #1F2651
square
#511F3F #514A1F #1F5131 #1F2651
split-complementary
#511F3F #26511F #1F514A
monochromatic
#160811 #250E1D #511F3F #7D3061 #AA4184
Accessibility & contrast
On white
12.98
#511F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#511F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F3F
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F3F | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#31343E
Tritanopia (blue-blind)
#561F2C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #511f3f; /* rgb */ color: rgb(81, 31, 63); /* oklch */ color: oklch(32.5% 0.086 343.7);
Tailwind
colors: {
custom: {
50: '#845d74',
500: '#511f3f',
950: '#000000',
},
}SCSS
$custom: #511f3f; $custom-light: #845d74; $custom-dark: #000000;
JSON
{
"hex": "#511f3f",
"rgb": {
"r": 81,
"g": 31,
"b": 63
},
"hsl": {
"h": 321.6,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.325,
"c": 0.08616,
"h": 343.7
},
"luminance": 0.03088
}Semantic roles & 50–950 ramp
primary
#511F3F
secondary
#46865D
accent
#D48253
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B