#52172A#52172A
#52172A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.089 H 4.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #52172A |
|---|---|
| RGB | rgb(82, 23, 42) |
| HSL | hsl(341, 56%, 21%) |
| HSV | hsv(341, 72%, 32%) |
| CMYK | cmyk(0%, 72%, 48.8%, 67.8%) |
| CIE-LAB | lab(18.25, 29.19, 2.47) |
| CIE-LCH | lch(18.25, 29.30, 4.84°) |
| OKLab | oklab(30.68% 0.0891 0.0067) |
| OKLCH | oklch(30.68% 0.089 4.3) |
| XYZ | xyz(4.2043, 2.5743, 2.4655) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.48
Maroon (survey)
#650021
ΔE00 6.69
Merlot
#730039
ΔE00 7.73
Dark Maroon
#3C0008
ΔE00 8.10
Plum (survey)
#580F41
ΔE00 8.71
Dark Plum
#3F012C
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52172A #17523F
analogous
#521747 #52172A #522117
triadic
#52172A #2A5217 #172A52
tetradic
#52172A #475217 #17523F #211752
square
#52172A #475217 #17523F #211752
split-complementary
#52172A #175221 #174752
monochromatic
#18070C #220A12 #52172A #822442 #B2325B
Accessibility & contrast
On white
13.86
#52172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#52172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52172A
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52172A | 1.00 | 13.86 | 1.51 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#333129
Tritanopia (blue-blind)
#5A0F1F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #52172a; /* rgb */ color: rgb(82, 23, 42); /* oklch */ color: oklch(30.7% 0.089 4.3);
Tailwind
colors: {
custom: {
50: '#865863',
500: '#52172a',
950: '#000000',
},
}SCSS
$custom: #52172a; $custom-light: #865863; $custom-dark: #000000;
JSON
{
"hex": "#52172a",
"rgb": {
"r": 82,
"g": 23,
"b": 42
},
"hsl": {
"h": 340.678,
"s": 56.19,
"l": 20.588
},
"oklch": {
"l": 0.30684,
"c": 0.08939,
"h": 4.3
},
"luminance": 0.02574
}Semantic roles & 50–950 ramp
primary
#52172A
secondary
#3C8970
accent
#DFAF48
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879