#512B46#512B46
#512B46 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 34.8% C 0.069 H 338.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #512B46 |
|---|---|
| RGB | rgb(81, 43, 70) |
| HSL | hsl(317, 31%, 24%) |
| HSV | hsv(317, 47%, 32%) |
| CMYK | cmyk(0%, 46.9%, 13.6%, 68.2%) |
| CIE-LAB | lab(23.40, 21.93, -9.28) |
| CIE-LCH | lch(23.40, 23.81, 337.05°) |
| OKLab | oklab(34.85% 0.064 -0.0248) |
| OKLCH | oklch(34.85% 0.069 338.8) |
| XYZ | xyz(5.3627, 3.9196, 6.2673) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 7.33
Grape
#6C3461
ΔE00 7.42
Grape Purple
#5D1451
ΔE00 8.18
Aubergine
#3D0734
ΔE00 9.04
Eggplant
#380835
ΔE00 9.61
Dark Plum
#3F012C
ΔE00 9.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512B46 #2B5136
analogous
#492B51 #512B46 #512B33
triadic
#512B46 #46512B #2B4651
tetradic
#512B46 #51492B #2B5136 #2B3351
square
#512B46 #51492B #2B5136 #2B3351
split-complementary
#512B46 #33512B #2B5149
monochromatic
#140B11 #291623 #512B46 #794069 #A1558B
Accessibility & contrast
On white
11.77
#512B46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#512B46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512B46
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512B46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512B46 | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#363A45
Tritanopia (blue-blind)
#552C35
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #512b46; /* rgb */ color: rgb(81, 43, 70); /* oklch */ color: oklch(34.8% 0.069 338.8);
Tailwind
colors: {
custom: {
50: '#836579',
500: '#512b46',
950: '#000000',
},
}SCSS
$custom: #512b46; $custom-light: #836579; $custom-dark: #000000;
JSON
{
"hex": "#512b46",
"rgb": {
"r": 81,
"g": 43,
"b": 70
},
"hsl": {
"h": 317.368,
"s": 30.645,
"l": 24.314
},
"oklch": {
"l": 0.34846,
"c": 0.06864,
"h": 338.8
},
"luminance": 0.03919
}Semantic roles & 50–950 ramp
primary
#512B46
secondary
#558362
accent
#C77E61
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0B0609
muted
#7C7A7B