#52261B#52261B
#52261B is a dark, moderate red. Relative luminance 0.033; OKLCH L 32.7% C 0.069 H 35.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #52261B |
|---|---|
| RGB | rgb(82, 38, 27) |
| HSL | hsl(12, 50%, 21%) |
| HSV | hsv(12, 67%, 32%) |
| CMYK | cmyk(0%, 53.7%, 67.1%, 67.8%) |
| CIE-LAB | lab(21.06, 19.42, 16.64) |
| CIE-LCH | lch(21.06, 25.57, 40.60°) |
| OKLab | oklab(32.68% 0.0563 0.0396) |
| OKLCH | oklch(32.68% 0.069 35.1) |
| XYZ | xyz(4.3710, 3.2597, 1.4357) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 6.01
Chocolate (survey)
#3D1C02
ΔE00 7.33
Mahogany
#4A0100
ΔE00 8.62
Dried Blood
#4B0101
ΔE00 8.62
Deep Brown
#410200
ΔE00 9.07
Reddy Brown
#6E1005
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52261B #1B4752
analogous
#521B2C #52261B #52421B
triadic
#52261B #1B5226 #261B52
tetradic
#52261B #2C521B #1B4752 #421B52
square
#52261B #2C521B #1B4752 #421B52
split-complementary
#52261B #1B5242 #1B2C52
monochromatic
#170B08 #24110C #52261B #803B2A #AE5139
Accessibility & contrast
On white
12.71
#52261B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#52261B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52261B
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52261B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52261B | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#312D1A
Deuteranopia (green-blind)
#3C361A
Tritanopia (blue-blind)
#5A1E23
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #52261b; /* rgb */ color: rgb(82, 38, 27); /* oklch */ color: oklch(32.7% 0.069 35.1);
Tailwind
colors: {
custom: {
50: '#866157',
500: '#52261b',
950: '#000000',
},
}SCSS
$custom: #52261b; $custom-light: #866157; $custom-dark: #000000;
JSON
{
"hex": "#52261b",
"rgb": {
"r": 82,
"g": 38,
"b": 27
},
"hsl": {
"h": 12,
"s": 50.459,
"l": 21.373
},
"oklch": {
"l": 0.32678,
"c": 0.06882,
"h": 35.1
},
"luminance": 0.03259
}Semantic roles & 50–950 ramp
primary
#52261B
secondary
#417A88
accent
#BEDA4E
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978