#52180B#52180B
#52180B is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.090 H 34.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).
Color values
| HEX | #52180B |
|---|---|
| RGB | rgb(82, 24, 11) |
| HSL | hsl(11, 76%, 18%) |
| HSV | hsv(11, 87%, 32%) |
| CMYK | cmyk(0%, 70.7%, 86.6%, 67.8%) |
| CIE-LAB | lab(17.79, 26.32, 22.23) |
| CIE-LCH | lch(17.79, 34.46, 40.19°) |
| OKLab | oklab(30.13% 0.0742 0.0502) |
| OKLCH | oklch(30.13% 0.09 34.1) |
| XYZ | xyz(3.8671, 2.4718, 0.5900) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 5.52
Dried Blood
#4B0101
ΔE00 5.54
Chocolate Brown
#411900
ΔE00 5.71
Rosewood
#65000B
ΔE00 6.44
Reddy Brown
#6E1005
ΔE00 6.53
Deep Brown
#410200
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52180B #0B4552
analogous
#520B21 #52180B #523B0B
triadic
#52180B #0B5218 #180B52
tetradic
#52180B #21520B #0B4552 #3B0B52
square
#52180B #21520B #0B4552 #3B0B52
split-complementary
#52180B #0B523B #0B2152
monochromatic
#1B0804 #1C0804 #52180B #882812 #BE3819
Accessibility & contrast
On white
14.05
#52180B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52180B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52180B
14.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52180B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52180B | 1.00 | 14.05 | 1.49 | 14.05 |
| #FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#292309
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#5B0815
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52180b; /* rgb */ color: rgb(82, 24, 11); /* oklch */ color: oklch(30.1% 0.090 34.1);
Tailwind
colors: {
custom: {
50: '#89584b',
500: '#52180b',
950: '#000000',
},
}SCSS
$custom: #52180b; $custom-light: #89584b; $custom-dark: #000000;
JSON
{
"hex": "#52180b",
"rgb": {
"r": 82,
"g": 24,
"b": 11
},
"hsl": {
"h": 10.986,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.30131,
"c": 0.08963,
"h": 34.1
},
"luminance": 0.02471
}Semantic roles & 50–950 ramp
primary
#52180B
secondary
#2B7C8E
accent
#D0F335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877