#512F45#512F45
#512F45 is a dark, muted pink. Relative luminance 0.042; OKLCH L 35.6% C 0.059 H 341.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #512F45 |
|---|---|
| RGB | rgb(81, 47, 69) |
| HSL | hsl(321, 27%, 25%) |
| HSV | hsv(321, 42%, 32%) |
| CMYK | cmyk(0%, 42%, 14.8%, 68.2%) |
| CIE-LAB | lab(24.36, 19.24, -7.16) |
| CIE-LCH | lch(24.36, 20.53, 339.58°) |
| OKLab | oklab(35.56% 0.0564 -0.019) |
| OKLCH | oklch(35.56% 0.059 341.4) |
| XYZ | xyz(5.4841, 4.2123, 6.1533) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 8.32
Plum (survey)
#580F41
ΔE00 8.99
Purple Brown
#673A3F
ΔE00 9.42
Dirty Purple
#734A65
ΔE00 9.91
Grape Purple
#5D1451
ΔE00 9.98
Purplish Brown
#6B4247
ΔE00 10.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512F45 #2F513B
analogous
#4C2F51 #512F45 #512F34
triadic
#512F45 #45512F #2F4551
tetradic
#512F45 #514C2F #2F513B #2F3451
square
#512F45 #514C2F #2F513B #2F3451
split-complementary
#512F45 #34512F #2F514C
monochromatic
#130B10 #2A1924 #512F45 #784566 #9E5C87
Accessibility & contrast
On white
11.40
#512F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#512F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512F45
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512F45 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#393C44
Tritanopia (blue-blind)
#552F37
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #512f45; /* rgb */ color: rgb(81, 47, 69); /* oklch */ color: oklch(35.6% 0.059 341.4);
Tailwind
colors: {
custom: {
50: '#836878',
500: '#512f45',
950: '#000000',
},
}SCSS
$custom: #512f45; $custom-light: #836878; $custom-dark: #000000;
JSON
{
"hex": "#512f45",
"rgb": {
"r": 81,
"g": 47,
"b": 69
},
"hsl": {
"h": 321.176,
"s": 26.562,
"l": 25.098
},
"oklch": {
"l": 0.35556,
"c": 0.05949,
"h": 341.4
},
"luminance": 0.04212
}Semantic roles & 50–950 ramp
primary
#512F45
secondary
#598268
accent
#C38665
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0A0609
muted
#7C7A7B