#52231F#52231F
#52231F is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.2% C 0.071 H 26.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #52231F |
|---|---|
| RGB | rgb(82, 35, 31) |
| HSL | hsl(5, 45%, 22%) |
| HSV | hsv(5, 62%, 32%) |
| CMYK | cmyk(0%, 57.3%, 62.2%, 67.8%) |
| CIE-LAB | lab(20.42, 21.56, 13.15) |
| CIE-LCH | lch(20.42, 25.26, 31.37°) |
| OKLab | oklab(32.22% 0.0637 0.0321) |
| OKLCH | oklch(32.22% 0.071 26.7) |
| XYZ | xyz(4.3284, 3.0953, 1.6656) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 7.43
Mahogany
#4A0100
ΔE00 7.47
Deep Brown
#410200
ΔE00 7.62
Chocolate Brown
#411900
ΔE00 8.33
Wine
#722F37
ΔE00 8.56
Rosewood
#65000B
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52231F #1F4E52
analogous
#521F35 #52231F #523D1F
triadic
#52231F #1F5223 #231F52
tetradic
#52231F #35521F #1F4E52 #3D1F52
square
#52231F #35521F #1F4E52 #3D1F52
split-complementary
#52231F #1F523D #1F3552
monochromatic
#160908 #26100E #52231F #7E3630 #AB4941
Accessibility & contrast
On white
12.97
#52231F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#52231F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52231F
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52231F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52231F | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2B1E
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#5A1B22
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #52231f; /* rgb */ color: rgb(82, 35, 31); /* oklch */ color: oklch(32.2% 0.071 26.7);
Tailwind
colors: {
custom: {
50: '#865f5a',
500: '#52231f',
950: '#000000',
},
}SCSS
$custom: #52231f; $custom-light: #865f5a; $custom-dark: #000000;
JSON
{
"hex": "#52231f",
"rgb": {
"r": 82,
"g": 35,
"b": 31
},
"hsl": {
"h": 4.706,
"s": 45.133,
"l": 22.157
},
"oklch": {
"l": 0.3222,
"c": 0.07131,
"h": 26.7
},
"luminance": 0.03095
}Semantic roles & 50–950 ramp
primary
#52231F
secondary
#468287
accent
#CBD553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978