#512C46#512C46
#512C46 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.0% C 0.067 H 339.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #512C46 |
|---|---|
| RGB | rgb(81, 44, 70) |
| HSL | hsl(318, 30%, 25%) |
| HSV | hsv(318, 46%, 32%) |
| CMYK | cmyk(0%, 45.7%, 13.6%, 68.2%) |
| CIE-LAB | lab(23.65, 21.31, -8.91) |
| CIE-LCH | lch(23.65, 23.10, 337.31°) |
| OKLab | oklab(35.03% 0.0622 -0.0238) |
| OKLCH | oklch(35.03% 0.067 339.1) |
| XYZ | xyz(5.3995, 3.9932, 6.2795) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 7.54
Plum (survey)
#580F41
ΔE00 7.70
Grape Purple
#5D1451
ΔE00 8.55
Aubergine
#3D0734
ΔE00 9.38
Eggplant
#380835
ΔE00 9.93
Dark Plum
#3F012C
ΔE00 10.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512C46 #2C5137
analogous
#4A2C51 #512C46 #512C34
triadic
#512C46 #46512C #2C4651
tetradic
#512C46 #514A2C #2C5137 #2C3451
square
#512C46 #514A2C #2C5137 #2C3451
split-complementary
#512C46 #34512C #2C514A
monochromatic
#140B11 #291624 #512C46 #794268 #A0578B
Accessibility & contrast
On white
11.68
#512C46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#512C46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512C46
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512C46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512C46 | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#373A45
Tritanopia (blue-blind)
#552D36
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #512c46; /* rgb */ color: rgb(81, 44, 70); /* oklch */ color: oklch(35.0% 0.067 339.1);
Tailwind
colors: {
custom: {
50: '#836679',
500: '#512c46',
950: '#000000',
},
}SCSS
$custom: #512c46; $custom-light: #836679; $custom-dark: #000000;
JSON
{
"hex": "#512c46",
"rgb": {
"r": 81,
"g": 44,
"b": 70
},
"hsl": {
"h": 317.838,
"s": 29.6,
"l": 24.51
},
"oklch": {
"l": 0.35031,
"c": 0.06659,
"h": 339.1
},
"luminance": 0.03993
}Semantic roles & 50–950 ramp
primary
#512C46
secondary
#568363
accent
#C68062
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0B0609
muted
#7C7A7B