#52131F#52131F
#52131F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.093 H 13.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #52131F |
|---|---|
| RGB | rgb(82, 19, 31) |
| HSL | hsl(349, 62%, 20%) |
| HSV | hsv(349, 77%, 32%) |
| CMYK | cmyk(0%, 76.8%, 62.2%, 67.8%) |
| CIE-LAB | lab(17.27, 29.94, 8.96) |
| CIE-LCH | lch(17.27, 31.25, 16.67°) |
| OKLab | oklab(29.85% 0.0901 0.0223) |
| OKLCH | oklch(29.85% 0.093 13.9) |
| XYZ | xyz(3.9602, 2.3591, 1.5429) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.56
Maroon (survey)
#650021
ΔE00 4.83
Dark Maroon
#3C0008
ΔE00 5.61
Claret
#680018
ΔE00 6.47
Deep Brown
#410200
ΔE00 6.66
Dried Blood
#4B0101
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52131F #135246
analogous
#52133F #52131F #522613
triadic
#52131F #1F5213 #131F52
tetradic
#52131F #3F5213 #135246 #261352
square
#52131F #3F5213 #135246 #261352
split-complementary
#52131F #135226 #133F52
monochromatic
#190609 #20070C #52131F #841F32 #B52A45
Accessibility & contrast
On white
14.27
#52131F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52131F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52131F
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52131F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52131F | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#5A0518
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52131f; /* rgb */ color: rgb(82, 19, 31); /* oklch */ color: oklch(29.9% 0.093 13.9);
Tailwind
colors: {
custom: {
50: '#87565a',
500: '#52131f',
950: '#000000',
},
}SCSS
$custom: #52131f; $custom-light: #87565a; $custom-dark: #000000;
JSON
{
"hex": "#52131f",
"rgb": {
"r": 82,
"g": 19,
"b": 31
},
"hsl": {
"h": 348.571,
"s": 62.376,
"l": 19.804
},
"oklch": {
"l": 0.29852,
"c": 0.09286,
"h": 13.9
},
"luminance": 0.02359
}Semantic roles & 50–950 ramp
primary
#52131F
secondary
#368A7A
accent
#E5C642
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878