#52162E#52162E
#52162E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.092 H 359.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #52162E |
|---|---|
| RGB | rgb(82, 22, 46) |
| HSL | hsl(336, 58%, 20%) |
| HSV | hsv(336, 73%, 32%) |
| CMYK | cmyk(0%, 73.2%, 43.9%, 67.8%) |
| CIE-LAB | lab(18.21, 30.14, -0.43) |
| CIE-LCH | lch(18.21, 30.15, 359.18°) |
| OKLab | oklab(30.7% 0.0923 -0.0008) |
| OKLCH | oklch(30.7% 0.092 359.5) |
| XYZ | xyz(4.2600, 2.5654, 2.8551) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.45
Plum (survey)
#580F41
ΔE00 6.89
Merlot
#730039
ΔE00 7.27
Dark Plum
#3F012C
ΔE00 7.38
Maroon (survey)
#650021
ΔE00 7.87
Aubergine
#3D0734
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52162E #16523A
analogous
#52164C #52162E #521C16
triadic
#52162E #2E5216 #162E52
tetradic
#52162E #4C5216 #16523A #1C1652
square
#52162E #4C5216 #16523A #1C1652
split-complementary
#52162E #16521C #164C52
monochromatic
#18060E #220913 #52162E #822349 #B33064
Accessibility & contrast
On white
13.88
#52162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#52162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52162E
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52162E | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252F
Deuteranopia (green-blind)
#32312D
Tritanopia (blue-blind)
#590F20
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52162e; /* rgb */ color: rgb(82, 22, 46); /* oklch */ color: oklch(30.7% 0.092 359.5);
Tailwind
colors: {
custom: {
50: '#865866',
500: '#52162e',
950: '#000000',
},
}SCSS
$custom: #52162e; $custom-light: #865866; $custom-dark: #000000;
JSON
{
"hex": "#52162e",
"rgb": {
"r": 82,
"g": 22,
"b": 46
},
"hsl": {
"h": 336,
"s": 57.692,
"l": 20.392
},
"oklch": {
"l": 0.30698,
"c": 0.09227,
"h": 359.5
},
"luminance": 0.02565
}Semantic roles & 50–950 ramp
primary
#52162E
secondary
#3A896A
accent
#E1A347
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A