#52181C#52181C
#52181C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.086 H 19.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).
Color values
| HEX | #52181C |
|---|---|
| RGB | rgb(82, 24, 28) |
| HSL | hsl(356, 55%, 21%) |
| HSV | hsv(356, 71%, 32%) |
| CMYK | cmyk(0%, 70.7%, 65.9%, 67.8%) |
| CIE-LAB | lab(18.06, 27.34, 12.15) |
| CIE-LCH | lch(18.06, 29.92, 23.95°) |
| OKLab | oklab(30.42% 0.0813 0.0295) |
| OKLCH | oklch(30.42% 0.086 19.9) |
| XYZ | xyz(4.0163, 2.5315, 1.3755) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.55
Deep Brown
#410200
ΔE00 5.61
Mahogany
#4A0100
ΔE00 5.66
Claret
#680018
ΔE00 6.14
Dark Maroon
#3C0008
ΔE00 6.16
Maroon (survey)
#650021
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52181C #18524E
analogous
#521839 #52181C #523118
triadic
#52181C #1C5218 #181C52
tetradic
#52181C #395218 #18524E #311852
square
#52181C #395218 #18524E #311852
split-complementary
#52181C #185231 #183952
monochromatic
#180708 #230A0C #52181C #81262C #B1343C
Accessibility & contrast
On white
13.94
#52181C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#52181C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52181C
13.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52181C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52181C | 1.00 | 13.94 | 1.51 | 13.94 |
| #FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27241C
Deuteranopia (green-blind)
#35311B
Tritanopia (blue-blind)
#5A0C1A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52181c; /* rgb */ color: rgb(82, 24, 28); /* oklch */ color: oklch(30.4% 0.086 19.9);
Tailwind
colors: {
custom: {
50: '#875857',
500: '#52181c',
950: '#000000',
},
}SCSS
$custom: #52181c; $custom-light: #875857; $custom-dark: #000000;
JSON
{
"hex": "#52181c",
"rgb": {
"r": 82,
"g": 24,
"b": 28
},
"hsl": {
"h": 355.862,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.3042,
"c": 0.08648,
"h": 19.9
},
"luminance": 0.02531
}Semantic roles & 50–950 ramp
primary
#52181C
secondary
#3D8984
accent
#DED44A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878