#52131A#52131A
#52131A is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 18.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #52131A |
|---|---|
| RGB | rgb(82, 19, 26) |
| HSL | hsl(353, 62%, 20%) |
| HSV | hsv(353, 77%, 32%) |
| CMYK | cmyk(0%, 76.8%, 68.3%, 67.8%) |
| CIE-LAB | lab(17.15, 29.54, 12.38) |
| CIE-LCH | lch(17.15, 32.03, 22.73°) |
| OKLab | oklab(29.73% 0.0879 0.0298) |
| OKLCH | oklch(29.73% 0.093 18.8) |
| XYZ | xyz(3.8994, 2.3347, 1.2224) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.05
Deep Brown
#410200
ΔE00 5.14
Mahogany
#4A0100
ΔE00 5.18
Dark Maroon
#3C0008
ΔE00 5.48
Claret
#680018
ΔE00 5.49
Maroon (survey)
#650021
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52131A #13524B
analogous
#52133A #52131A #522B13
triadic
#52131A #1A5213 #131A52
tetradic
#52131A #3A5213 #13524B #2B1352
square
#52131A #3A5213 #13524B #2B1352
split-complementary
#52131A #13522B #133A52
monochromatic
#190608 #20070A #52131A #841F2A #B52A3A
Accessibility & contrast
On white
14.32
#52131A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52131A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52131A
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52131A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52131A | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#5B0316
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52131a; /* rgb */ color: rgb(82, 19, 26); /* oklch */ color: oklch(29.7% 0.093 18.8);
Tailwind
colors: {
custom: {
50: '#885656',
500: '#52131a',
950: '#000000',
},
}SCSS
$custom: #52131a; $custom-light: #885656; $custom-dark: #000000;
JSON
{
"hex": "#52131a",
"rgb": {
"r": 82,
"g": 19,
"b": 26
},
"hsl": {
"h": 353.333,
"s": 62.376,
"l": 19.804
},
"oklch": {
"l": 0.29729,
"c": 0.09279,
"h": 18.8
},
"luminance": 0.02334
}Semantic roles & 50–950 ramp
primary
#52131A
secondary
#368A81
accent
#E5D342
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878