#52181A#52181A
#52181A is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.087 H 21.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #52181A |
|---|---|
| RGB | rgb(82, 24, 26) |
| HSL | hsl(358, 55%, 21%) |
| HSV | hsv(358, 71%, 32%) |
| CMYK | cmyk(0%, 70.7%, 68.3%, 67.8%) |
| CIE-LAB | lab(18.02, 27.19, 13.49) |
| CIE-LCH | lch(18.02, 30.35, 26.39°) |
| OKLab | oklab(30.38% 0.0804 0.0324) |
| OKLCH | oklch(30.38% 0.087 21.9) |
| XYZ | xyz(3.9932, 2.5222, 1.2537) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.99
Mahogany
#4A0100
ΔE00 5.09
Deep Brown
#410200
ΔE00 5.28
Claret
#680018
ΔE00 6.08
Dark Maroon
#3C0008
ΔE00 6.40
Rosewood
#65000B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52181A #185250
analogous
#521837 #52181A #523318
triadic
#52181A #1A5218 #181A52
tetradic
#52181A #375218 #185250 #331852
square
#52181A #375218 #185250 #331852
split-complementary
#52181A #185233 #183752
monochromatic
#180708 #230A0B #52181A #812629 #B13438
Accessibility & contrast
On white
13.96
#52181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#52181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52181A
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52181A | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#363118
Tritanopia (blue-blind)
#5A0B19
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52181a; /* rgb */ color: rgb(82, 24, 26); /* oklch */ color: oklch(30.4% 0.087 21.9);
Tailwind
colors: {
custom: {
50: '#875856',
500: '#52181a',
950: '#000000',
},
}SCSS
$custom: #52181a; $custom-light: #875856; $custom-dark: #000000;
JSON
{
"hex": "#52181a",
"rgb": {
"r": 82,
"g": 24,
"b": 26
},
"hsl": {
"h": 357.931,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.30376,
"c": 0.08665,
"h": 21.9
},
"luminance": 0.02522
}Semantic roles & 50–950 ramp
primary
#52181A
secondary
#3D8986
accent
#DED94A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878