#521918#521918
#521918 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.086 H 24.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #521918 |
|---|---|
| RGB | rgb(82, 25, 24) |
| HSL | hsl(1, 55%, 21%) |
| HSV | hsv(1, 71%, 32%) |
| CMYK | cmyk(0%, 69.5%, 70.7%, 67.8%) |
| CIE-LAB | lab(18.17, 26.53, 15.07) |
| CIE-LCH | lch(18.17, 30.51, 29.59°) |
| OKLab | oklab(30.48% 0.0779 0.0357) |
| OKLCH | oklch(30.48% 0.086 24.6) |
| XYZ | xyz(3.9926, 2.5556, 1.1470) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.71
Mahogany
#4A0100
ΔE00 4.79
Deep Brown
#410200
ΔE00 5.26
Rosewood
#65000B
ΔE00 6.39
Claret
#680018
ΔE00 6.42
Dark Maroon
#3C0008
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#521918 #185152
analogous
#521834 #521918 #523618
triadic
#521918 #185219 #191852
tetradic
#521918 #345218 #185152 #361852
square
#521918 #345218 #185152 #361852
split-complementary
#521918 #185236 #183452
monochromatic
#180707 #230B0A #521918 #812726 #B13634
Accessibility & contrast
On white
13.90
#521918 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#521918 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #521918
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##521918 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##521918 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282517
Deuteranopia (green-blind)
#363116
Tritanopia (blue-blind)
#5B0C19
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #521918; /* rgb */ color: rgb(82, 25, 24); /* oklch */ color: oklch(30.5% 0.086 24.6);
Tailwind
colors: {
custom: {
50: '#875954',
500: '#521918',
950: '#000000',
},
}SCSS
$custom: #521918; $custom-light: #875954; $custom-dark: #000000;
JSON
{
"hex": "#521918",
"rgb": {
"r": 82,
"g": 25,
"b": 24
},
"hsl": {
"h": 1.034,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.30475,
"c": 0.08566,
"h": 24.6
},
"luminance": 0.02555
}Semantic roles & 50–950 ramp
primary
#521918
secondary
#3D8789
accent
#DCDE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978