#51212E#51212E
#51212E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.1% C 0.073 H 5.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #51212E |
|---|---|
| RGB | rgb(81, 33, 46) |
| HSL | hsl(344, 42%, 22%) |
| HSV | hsv(344, 59%, 32%) |
| CMYK | cmyk(0%, 59.3%, 43.2%, 68.2%) |
| CIE-LAB | lab(20.18, 23.99, 2.41) |
| CIE-LCH | lch(20.18, 24.11, 5.73°) |
| OKLab | oklab(32.13% 0.073 0.0065) |
| OKLCH | oklch(32.13% 0.073 5.1) |
| XYZ | xyz(4.4306, 3.0348, 2.9367) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 7.57
Purple Brown
#673A3F
ΔE00 7.85
Wine
#722F37
ΔE00 8.33
Maroon (survey)
#650021
ΔE00 8.40
Dark Maroon
#3C0008
ΔE00 9.26
Merlot
#730039
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51212E #215144
analogous
#512146 #51212E #512C21
triadic
#51212E #2E5121 #212E51
tetradic
#51212E #465121 #215144 #2C2151
square
#51212E #465121 #215144 #2C2151
split-complementary
#51212E #21512C #214651
monochromatic
#16090C #260F15 #51212E #7C3347 #A8445F
Accessibility & contrast
On white
13.07
#51212E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#51212E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51212E
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51212E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51212E | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#581C26
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #51212e; /* rgb */ color: rgb(81, 33, 46); /* oklch */ color: oklch(32.1% 0.073 5.1);
Tailwind
colors: {
custom: {
50: '#845e66',
500: '#51212e',
950: '#000000',
},
}SCSS
$custom: #51212e; $custom-light: #845e66; $custom-dark: #000000;
JSON
{
"hex": "#51212e",
"rgb": {
"r": 81,
"g": 33,
"b": 46
},
"hsl": {
"h": 343.75,
"s": 42.105,
"l": 22.353
},
"oklch": {
"l": 0.32132,
"c": 0.07326,
"h": 5.1
},
"luminance": 0.03034
}Semantic roles & 50–950 ramp
primary
#51212E
secondary
#498575
accent
#D2B056
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A