#52151A#52151A
#52151A is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.090 H 19.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #52151A |
|---|---|
| RGB | rgb(82, 21, 26) |
| HSL | hsl(355, 59%, 20%) |
| HSV | hsv(355, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 68.3%, 67.8%) |
| CIE-LAB | lab(17.48, 28.64, 12.81) |
| CIE-LCH | lch(17.48, 31.37, 24.09°) |
| OKLab | oklab(29.98% 0.085 0.0308) |
| OKLCH | oklch(29.98% 0.09 19.9) |
| XYZ | xyz(3.9347, 2.4053, 1.2342) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.96
Mahogany
#4A0100
ΔE00 5.08
Deep Brown
#410200
ΔE00 5.13
Claret
#680018
ΔE00 5.66
Dark Maroon
#3C0008
ΔE00 5.79
Maroon (survey)
#650021
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52151A #15524D
analogous
#521538 #52151A #522E15
triadic
#52151A #1A5215 #151A52
tetradic
#52151A #385215 #15524D #2E1552
square
#52151A #385215 #15524D #2E1552
split-complementary
#52151A #15522E #153852
monochromatic
#180608 #21090B #52151A #832129 #B32E39
Accessibility & contrast
On white
14.18
#52151A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#52151A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52151A
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52151A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52151A | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#353018
Tritanopia (blue-blind)
#5B0617
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52151a; /* rgb */ color: rgb(82, 21, 26); /* oklch */ color: oklch(30.0% 0.090 19.9);
Tailwind
colors: {
custom: {
50: '#885756',
500: '#52151a',
950: '#000000',
},
}SCSS
$custom: #52151a; $custom-light: #885756; $custom-dark: #000000;
JSON
{
"hex": "#52151a",
"rgb": {
"r": 82,
"g": 21,
"b": 26
},
"hsl": {
"h": 355.082,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.29976,
"c": 0.09039,
"h": 19.9
},
"luminance": 0.02405
}Semantic roles & 50–950 ramp
primary
#52151A
secondary
#398A83
accent
#E2D645
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878