#52162C#52162C
#52162C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.092 H 1.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #52162C |
|---|---|
| RGB | rgb(82, 22, 44) |
| HSL | hsl(338, 58%, 20%) |
| HSV | hsv(338, 73%, 32%) |
| CMYK | cmyk(0%, 73.2%, 46.3%, 67.8%) |
| CIE-LAB | lab(18.14, 29.90, 0.89) |
| CIE-LCH | lch(18.14, 29.91, 1.71°) |
| OKLab | oklab(30.63% 0.0915 0.0027) |
| OKLCH | oklch(30.63% 0.092 1.7) |
| XYZ | xyz(4.2215, 2.5500, 2.6523) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.90
Maroon (survey)
#650021
ΔE00 7.26
Merlot
#730039
ΔE00 7.38
Plum (survey)
#580F41
ΔE00 7.68
Dark Plum
#3F012C
ΔE00 7.99
Dark Maroon
#3C0008
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52162C #16523C
analogous
#52164A #52162C #521E16
triadic
#52162C #2C5216 #162C52
tetradic
#52162C #4A5216 #16523C #1E1652
square
#52162C #4A5216 #16523C #1E1652
split-complementary
#52162C #16521E #164A52
monochromatic
#18060D #220912 #52162C #822346 #B33060
Accessibility & contrast
On white
13.91
#52162C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#52162C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52162C
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52162C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52162C | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22252D
Deuteranopia (green-blind)
#32312B
Tritanopia (blue-blind)
#590E1F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52162c; /* rgb */ color: rgb(82, 22, 44); /* oklch */ color: oklch(30.6% 0.092 1.7);
Tailwind
colors: {
custom: {
50: '#865864',
500: '#52162c',
950: '#000000',
},
}SCSS
$custom: #52162c; $custom-light: #865864; $custom-dark: #000000;
JSON
{
"hex": "#52162c",
"rgb": {
"r": 82,
"g": 22,
"b": 44
},
"hsl": {
"h": 338,
"s": 57.692,
"l": 20.392
},
"oklch": {
"l": 0.30625,
"c": 0.09151,
"h": 1.7
},
"luminance": 0.0255
}Semantic roles & 50–950 ramp
primary
#52162C
secondary
#3A896C
accent
#E1A847
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A