#541F12#541F12
#541F12 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.083 H 35.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #541F12 |
|---|---|
| RGB | rgb(84, 31, 18) |
| HSL | hsl(12, 65%, 20%) |
| HSV | hsv(12, 79%, 33%) |
| CMYK | cmyk(0%, 63.1%, 78.6%, 67.1%) |
| CIE-LAB | lab(19.68, 23.77, 20.91) |
| CIE-LCH | lch(19.68, 31.66, 41.34°) |
| OKLab | oklab(31.66% 0.0676 0.0474) |
| OKLCH | oklch(31.66% 0.083 35) |
| XYZ | xyz(4.2558, 2.9090, 0.9095) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 5.49
Mahogany
#4A0100
ΔE00 6.98
Dried Blood
#4B0101
ΔE00 6.99
Reddy Brown
#6E1005
ΔE00 7.08
Rosewood
#65000B
ΔE00 7.50
Chocolate (survey)
#3D1C02
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#541F12 #124754
analogous
#541226 #541F12 #544012
triadic
#541F12 #12541F #1F1254
tetradic
#541F12 #265412 #124754 #401254
square
#541F12 #265412 #124754 #401254
split-complementary
#541F12 #125440 #122654
monochromatic
#190905 #220C07 #541F12 #86321D #B94428
Accessibility & contrast
On white
13.28
#541F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#541F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #541F12
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##541F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##541F12 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#3A3411
Tritanopia (blue-blind)
#5D131C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #541f12; /* rgb */ color: rgb(84, 31, 18); /* oklch */ color: oklch(31.7% 0.083 35.0);
Tailwind
colors: {
custom: {
50: '#895d50',
500: '#541f12',
950: '#000000',
},
}SCSS
$custom: #541f12; $custom-light: #895d50; $custom-dark: #000000;
JSON
{
"hex": "#541f12",
"rgb": {
"r": 84,
"g": 31,
"b": 18
},
"hsl": {
"h": 11.818,
"s": 64.706,
"l": 20
},
"oklch": {
"l": 0.31656,
"c": 0.08257,
"h": 35
},
"luminance": 0.02908
}Semantic roles & 50–950 ramp
primary
#541F12
secondary
#357C8D
accent
#C7E840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978