#52180F#52180F
#52180F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.089 H 31.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #52180F |
|---|---|
| RGB | rgb(82, 24, 15) |
| HSL | hsl(8, 69%, 19%) |
| HSV | hsv(8, 82%, 32%) |
| CMYK | cmyk(0%, 70.7%, 81.7%, 67.8%) |
| CIE-LAB | lab(17.84, 26.50, 20.37) |
| CIE-LCH | lch(17.84, 33.42, 37.55°) |
| OKLab | oklab(30.18% 0.0757 0.0462) |
| OKLCH | oklch(30.18% 0.089 31.4) |
| XYZ | xyz(3.8930, 2.4822, 0.7260) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.84
Mahogany
#4A0100
ΔE00 4.84
Rosewood
#65000B
ΔE00 5.98
Deep Brown
#410200
ΔE00 6.04
Chocolate Brown
#411900
ΔE00 6.41
Reddy Brown
#6E1005
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52180F #0F4952
analogous
#520F28 #52180F #523A0F
triadic
#52180F #0F5218 #180F52
tetradic
#52180F #28520F #0F4952 #3A0F52
square
#52180F #28520F #0F4952 #3A0F52
split-complementary
#52180F #0F523A #0F2852
monochromatic
#1A0805 #1E0906 #52180F #862718 #B93622
Accessibility & contrast
On white
14.03
#52180F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#52180F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52180F
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52180F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52180F | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#37300D
Tritanopia (blue-blind)
#5B0916
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #52180f; /* rgb */ color: rgb(82, 24, 15); /* oklch */ color: oklch(30.2% 0.089 31.4);
Tailwind
colors: {
custom: {
50: '#88584e',
500: '#52180f',
950: '#000000',
},
}SCSS
$custom: #52180f; $custom-light: #88584e; $custom-dark: #000000;
JSON
{
"hex": "#52180f",
"rgb": {
"r": 82,
"g": 24,
"b": 15
},
"hsl": {
"h": 8.06,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.30181,
"c": 0.08868,
"h": 31.4
},
"luminance": 0.02482
}Semantic roles & 50–950 ramp
primary
#52180F
secondary
#31808C
accent
#D4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877