#52122B#52122B
#52122B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.097 H 1.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #52122B |
|---|---|
| RGB | rgb(82, 18, 43) |
| HSL | hsl(337, 64%, 20%) |
| HSV | hsv(337, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 47.6%, 67.8%) |
| CIE-LAB | lab(17.47, 31.56, 0.62) |
| CIE-LCH | lch(17.47, 31.57, 1.13°) |
| OKLab | oklab(30.11% 0.0967 0.002) |
| OKLCH | oklch(30.11% 0.097 1.2) |
| XYZ | xyz(4.1323, 2.4014, 2.5309) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.63
Merlot
#730039
ΔE00 7.04
Maroon (survey)
#650021
ΔE00 7.11
Plum (survey)
#580F41
ΔE00 7.36
Dark Plum
#3F012C
ΔE00 7.54
Dark Maroon
#3C0008
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52122B #125239
analogous
#52124B #52122B #521912
triadic
#52122B #2B5212 #122B52
tetradic
#52122B #4B5212 #125239 #191252
square
#52122B #4B5212 #125239 #191252
split-complementary
#52122B #125219 #124B52
monochromatic
#19060D #200711 #52122B #841D45 #B62860
Accessibility & contrast
On white
14.19
#52122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#52122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52122B
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52122B | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#5A091C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52122b; /* rgb */ color: rgb(82, 18, 43); /* oklch */ color: oklch(30.1% 0.097 1.2);
Tailwind
colors: {
custom: {
50: '#865664',
500: '#52122b',
950: '#000000',
},
}SCSS
$custom: #52122b; $custom-light: #865664; $custom-dark: #000000;
JSON
{
"hex": "#52122b",
"rgb": {
"r": 82,
"g": 18,
"b": 43
},
"hsl": {
"h": 336.563,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.30114,
"c": 0.09675,
"h": 1.2
},
"luminance": 0.02401
}Semantic roles & 50–950 ramp
primary
#52122B
secondary
#358B69
accent
#E7A641
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879