#52291F#52291F
#52291F is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.3% C 0.064 H 34.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #52291F |
|---|---|
| RGB | rgb(82, 41, 31) |
| HSL | hsl(12, 45%, 22%) |
| HSV | hsv(12, 62%, 32%) |
| CMYK | cmyk(0%, 50%, 62.2%, 67.8%) |
| CIE-LAB | lab(21.87, 17.93, 15.02) |
| CIE-LCH | lch(21.87, 23.38, 39.95°) |
| OKLab | oklab(33.32% 0.0524 0.0363) |
| OKLCH | oklch(33.32% 0.064 34.7) |
| XYZ | xyz(4.5203, 3.4791, 1.7295) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 6.75
Chocolate (survey)
#3D1C02
ΔE00 7.73
Dried Blood
#4B0101
ΔE00 9.51
Mahogany
#4A0100
ΔE00 9.52
Purple Brown
#673A3F
ΔE00 9.54
Deep Brown
#410200
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52291F #1F4852
analogous
#521F2E #52291F #52431F
triadic
#52291F #1F5229 #291F52
tetradic
#52291F #2E521F #1F4852 #431F52
square
#52291F #2E521F #1F4852 #431F52
split-complementary
#52291F #1F5243 #1F2E52
monochromatic
#160B08 #26130E #52291F #7E3F30 #AB5541
Accessibility & contrast
On white
12.38
#52291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#52291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52291F
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52291F | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3D381E
Tritanopia (blue-blind)
#5A2227
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #52291f; /* rgb */ color: rgb(82, 41, 31); /* oklch */ color: oklch(33.3% 0.064 34.7);
Tailwind
colors: {
custom: {
50: '#86635a',
500: '#52291f',
950: '#000000',
},
}SCSS
$custom: #52291f; $custom-light: #86635a; $custom-dark: #000000;
JSON
{
"hex": "#52291f",
"rgb": {
"r": 82,
"g": 41,
"b": 31
},
"hsl": {
"h": 11.765,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.33322,
"c": 0.0638,
"h": 34.7
},
"luminance": 0.03479
}Semantic roles & 50–950 ramp
primary
#52291F
secondary
#467A87
accent
#BBD553
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0B0504
muted
#7C7979