#52161A#52161A
#52161A is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.089 H 20.6°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #52161A |
|---|---|
| RGB | rgb(82, 22, 26) |
| HSL | hsl(356, 58%, 20%) |
| HSV | hsv(356, 73%, 32%) |
| CMYK | cmyk(0%, 73.2%, 68.3%, 67.8%) |
| CIE-LAB | lab(17.66, 28.16, 13.03) |
| CIE-LCH | lch(17.66, 31.03, 24.83°) |
| OKLab | oklab(30.1% 0.0835 0.0313) |
| OKLCH | oklch(30.1% 0.089 20.6) |
| XYZ | xyz(3.9534, 2.4428, 1.2404) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.95
Mahogany
#4A0100
ΔE00 5.06
Deep Brown
#410200
ΔE00 5.16
Claret
#680018
ΔE00 5.78
Dark Maroon
#3C0008
ΔE00 5.98
Maroon (survey)
#650021
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52161A #16524E
analogous
#521638 #52161A #523016
triadic
#52161A #1A5216 #161A52
tetradic
#52161A #385216 #16524E #301652
square
#52161A #385216 #16524E #301652
split-complementary
#52161A #165230 #163852
monochromatic
#180608 #22090B #52161A #822329 #B33039
Accessibility & contrast
On white
14.11
#52161A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52161A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52161A
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52161A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52161A | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26231A
Deuteranopia (green-blind)
#353018
Tritanopia (blue-blind)
#5B0818
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52161a; /* rgb */ color: rgb(82, 22, 26); /* oklch */ color: oklch(30.1% 0.089 20.6);
Tailwind
colors: {
custom: {
50: '#875756',
500: '#52161a',
950: '#000000',
},
}SCSS
$custom: #52161a; $custom-light: #875756; $custom-dark: #000000;
JSON
{
"hex": "#52161a",
"rgb": {
"r": 82,
"g": 22,
"b": 26
},
"hsl": {
"h": 356,
"s": 57.692,
"l": 20.392
},
"oklch": {
"l": 0.30105,
"c": 0.08916,
"h": 20.6
},
"luminance": 0.02442
}Semantic roles & 50–950 ramp
primary
#52161A
secondary
#3A8984
accent
#E1D747
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878