#5A261B#5A261B
#5A261B is a dark, moderate red. Relative luminance 0.036; OKLCH L 34.0% C 0.080 H 33.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5A261B |
|---|---|
| RGB | rgb(90, 38, 27) |
| HSL | hsl(10, 54%, 23%) |
| HSV | hsv(10, 70%, 35%) |
| CMYK | cmyk(0%, 57.8%, 70%, 64.7%) |
| CIE-LAB | lab(22.44, 22.99, 18.65) |
| CIE-LCH | lch(22.44, 29.60, 39.06°) |
| OKLab | oklab(34.01% 0.0664 0.0438) |
| OKLCH | oklch(34.01% 0.08 33.4) |
| XYZ | xyz(5.1079, 3.6396, 1.4702) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 7.23
Reddy Brown
#6E1005
ΔE00 7.51
Rosewood
#65000B
ΔE00 7.89
Dried Blood
#4B0101
ΔE00 8.17
Mahogany
#4A0100
ΔE00 8.22
Chocolate (survey)
#3D1C02
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A261B #1B4F5A
analogous
#5A1B2F #5A261B #5A451B
triadic
#5A261B #1B5A26 #261B5A
tetradic
#5A261B #2F5A1B #1B4F5A #451B5A
square
#5A261B #2F5A1B #1B4F5A #451B5A
split-complementary
#5A261B #1B5A45 #1B2F5A
monochromatic
#180A07 #2B120D #5A261B #893A29 #B84E37
Accessibility & contrast
On white
12.15
#5A261B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#5A261B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A261B
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A261B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A261B | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#631C23
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5a261b; /* rgb */ color: rgb(90, 38, 27); /* oklch */ color: oklch(34.0% 0.080 33.4);
Tailwind
colors: {
custom: {
50: '#8d6257',
500: '#5a261b',
950: '#000000',
},
}SCSS
$custom: #5a261b; $custom-light: #8d6257; $custom-dark: #000000;
JSON
{
"hex": "#5a261b",
"rgb": {
"r": 90,
"g": 38,
"b": 27
},
"hsl": {
"h": 10.476,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.34011,
"c": 0.07954,
"h": 33.4
},
"luminance": 0.03639
}Semantic roles & 50–950 ramp
primary
#5A261B
secondary
#418290
accent
#C4DD4B
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978