#511F40#511F40
#511F40 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.5% C 0.087 H 342.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #511F40 |
|---|---|
| RGB | rgb(81, 31, 64) |
| HSL | hsl(320, 45%, 22%) |
| HSV | hsv(320, 62%, 32%) |
| CMYK | cmyk(0%, 61.7%, 21%, 68.2%) |
| CIE-LAB | lab(20.44, 27.86, -9.71) |
| CIE-LCH | lch(20.44, 29.50, 340.79°) |
| OKLab | oklab(32.55% 0.083 -0.0259) |
| OKLCH | oklch(32.55% 0.087 342.7) |
| XYZ | xyz(4.8088, 3.0999, 5.1946) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.00
Grape Purple
#5D1451
ΔE00 6.01
Aubergine
#3D0734
ΔE00 6.34
Dark Plum
#3F012C
ΔE00 6.58
Eggplant
#380835
ΔE00 7.35
Eggplant Purple
#430541
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F40 #1F5130
analogous
#491F51 #511F40 #511F27
triadic
#511F40 #40511F #1F4051
tetradic
#511F40 #51491F #1F5130 #1F2751
square
#511F40 #51491F #1F5130 #1F2751
split-complementary
#511F40 #27511F #1F5149
monochromatic
#160811 #250E1D #511F40 #7D3063 #AA4186
Accessibility & contrast
On white
12.96
#511F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#511F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F40
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F40 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#31343F
Tritanopia (blue-blind)
#561F2C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #511f40; /* rgb */ color: rgb(81, 31, 64); /* oklch */ color: oklch(32.5% 0.087 342.7);
Tailwind
colors: {
custom: {
50: '#845d74',
500: '#511f40',
950: '#000000',
},
}SCSS
$custom: #511f40; $custom-light: #845d74; $custom-dark: #000000;
JSON
{
"hex": "#511f40",
"rgb": {
"r": 81,
"g": 31,
"b": 64
},
"hsl": {
"h": 320.4,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.32548,
"c": 0.08693,
"h": 342.7
},
"luminance": 0.03099
}Semantic roles & 50–950 ramp
primary
#511F40
secondary
#46865C
accent
#D47F53
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B