#52141B#52141B
#52141B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.092 H 18.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #52141B |
|---|---|
| RGB | rgb(82, 20, 27) |
| HSL | hsl(353, 61%, 20%) |
| HSV | hsv(353, 76%, 32%) |
| CMYK | cmyk(0%, 75.6%, 67.1%, 67.8%) |
| CIE-LAB | lab(17.34, 29.17, 11.91) |
| CIE-LCH | lch(17.34, 31.51, 22.21°) |
| OKLab | oklab(29.87% 0.0869 0.0289) |
| OKLCH | oklch(29.87% 0.092 18.4) |
| XYZ | xyz(3.9281, 2.3738, 1.2881) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.36
Deep Brown
#410200
ΔE00 5.37
Mahogany
#4A0100
ΔE00 5.47
Maroon (survey)
#650021
ΔE00 5.52
Dark Maroon
#3C0008
ΔE00 5.56
Claret
#680018
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52141B #14524B
analogous
#52143A #52141B #522C14
triadic
#52141B #1B5214 #141B52
tetradic
#52141B #3A5214 #14524B #2C1452
square
#52141B #3A5214 #14524B #2C1452
split-complementary
#52141B #14522C #143A52
monochromatic
#190608 #21080B #52141B #83202B #B42C3B
Accessibility & contrast
On white
14.24
#52141B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52141B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52141B
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52141B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52141B | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24221B
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#5B0517
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52141b; /* rgb */ color: rgb(82, 20, 27); /* oklch */ color: oklch(29.9% 0.092 18.4);
Tailwind
colors: {
custom: {
50: '#885657',
500: '#52141b',
950: '#000000',
},
}SCSS
$custom: #52141b; $custom-light: #885657; $custom-dark: #000000;
JSON
{
"hex": "#52141b",
"rgb": {
"r": 82,
"g": 20,
"b": 27
},
"hsl": {
"h": 353.226,
"s": 60.784,
"l": 20
},
"oklch": {
"l": 0.29874,
"c": 0.09156,
"h": 18.4
},
"luminance": 0.02373
}Semantic roles & 50–950 ramp
primary
#52141B
secondary
#388A81
accent
#E4D244
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878