#52181F#52181F
#52181F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.5% C 0.086 H 16.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #52181F |
|---|---|
| RGB | rgb(82, 24, 31) |
| HSL | hsl(353, 55%, 21%) |
| HSV | hsv(353, 71%, 32%) |
| CMYK | cmyk(0%, 70.7%, 62.2%, 67.8%) |
| CIE-LAB | lab(18.13, 27.59, 10.12) |
| CIE-LCH | lch(18.13, 29.39, 20.14°) |
| OKLab | oklab(30.49% 0.0827 0.025) |
| OKLCH | oklch(30.49% 0.086 16.8) |
| XYZ | xyz(4.0540, 2.5466, 1.5741) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 5.78
Burgundy (survey)
#610023
ΔE00 5.84
Dark Maroon
#3C0008
ΔE00 6.07
Deep Brown
#410200
ΔE00 6.35
Claret
#680018
ΔE00 6.51
Dried Blood
#4B0101
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52181F #18524B
analogous
#52183C #52181F #522E18
triadic
#52181F #1F5218 #181F52
tetradic
#52181F #3C5218 #18524B #2E1852
square
#52181F #3C5218 #18524B #2E1852
split-complementary
#52181F #18522E #183C52
monochromatic
#180709 #230A0D #52181F #812631 #B13443
Accessibility & contrast
On white
13.91
#52181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#52181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52181F
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52181F | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#35311E
Tritanopia (blue-blind)
#5A0D1B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52181f; /* rgb */ color: rgb(82, 24, 31); /* oklch */ color: oklch(30.5% 0.086 16.8);
Tailwind
colors: {
custom: {
50: '#87595a',
500: '#52181f',
950: '#000000',
},
}SCSS
$custom: #52181f; $custom-light: #87595a; $custom-dark: #000000;
JSON
{
"hex": "#52181f",
"rgb": {
"r": 82,
"g": 24,
"b": 31
},
"hsl": {
"h": 352.759,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.30493,
"c": 0.08637,
"h": 16.8
},
"luminance": 0.02546
}Semantic roles & 50–950 ramp
primary
#52181F
secondary
#3D8980
accent
#DECC4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878