#541B17#541B17
#541B17 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.086 H 27.2°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #541B17 |
|---|---|
| RGB | rgb(84, 27, 23) |
| HSL | hsl(4, 57%, 21%) |
| HSV | hsv(4, 73%, 33%) |
| CMYK | cmyk(0%, 67.9%, 72.6%, 67.1%) |
| CIE-LAB | lab(18.93, 26.24, 16.78) |
| CIE-LCH | lch(18.93, 31.15, 32.60°) |
| OKLab | oklab(31.12% 0.0765 0.0393) |
| OKLCH | oklch(31.12% 0.086 27.2) |
| XYZ | xyz(4.2032, 2.7311, 1.1163) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.00
Mahogany
#4A0100
ΔE00 5.07
Deep Brown
#410200
ΔE00 5.89
Rosewood
#65000B
ΔE00 6.07
Claret
#680018
ΔE00 6.80
Reddy Brown
#6E1005
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541B17 #175054
analogous
#541731 #541B17 #543917
triadic
#541B17 #17541B #1B1754
tetradic
#541B17 #315417 #175054 #391754
square
#541B17 #315417 #175054 #391754
split-complementary
#541B17 #175439 #173154
monochromatic
#180807 #240C0A #541B17 #842A24 #B43A31
Accessibility & contrast
On white
13.58
#541B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#541B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541B17
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541B17 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#383315
Tritanopia (blue-blind)
#5D0E1A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #541b17; /* rgb */ color: rgb(84, 27, 23); /* oklch */ color: oklch(31.1% 0.086 27.2);
Tailwind
colors: {
custom: {
50: '#895a54',
500: '#541b17',
950: '#000000',
},
}SCSS
$custom: #541b17; $custom-light: #895a54; $custom-dark: #000000;
JSON
{
"hex": "#541b17",
"rgb": {
"r": 84,
"g": 27,
"b": 23
},
"hsl": {
"h": 3.934,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.3112,
"c": 0.08595,
"h": 27.2
},
"luminance": 0.02731
}Semantic roles & 50–950 ramp
primary
#541B17
secondary
#3C868B
accent
#D6E048
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978