#52121D#52121D
#52121D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.094 H 15.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #52121D |
|---|---|
| RGB | rgb(82, 18, 29) |
| HSL | hsl(350, 64%, 20%) |
| HSV | hsv(350, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 64.6%, 67.8%) |
| CIE-LAB | lab(17.06, 30.21, 10.12) |
| CIE-LCH | lch(17.06, 31.86, 18.52°) |
| OKLab | oklab(29.68% 0.0906 0.0249) |
| OKLCH | oklch(29.68% 0.094 15.4) |
| XYZ | xyz(3.9181, 2.3157, 1.4028) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.76
Maroon (survey)
#650021
ΔE00 4.81
Dark Maroon
#3C0008
ΔE00 5.37
Claret
#680018
ΔE00 5.99
Deep Brown
#410200
ΔE00 6.07
Dried Blood
#4B0101
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52121D #125247
analogous
#52123D #52121D #522712
triadic
#52121D #1D5212 #121D52
tetradic
#52121D #3D5212 #125247 #271252
square
#52121D #3D5212 #125247 #271252
split-complementary
#52121D #125227 #123D52
monochromatic
#190609 #20070B #52121D #841D2F #B62840
Accessibility & contrast
On white
14.35
#52121D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#52121D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52121D
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52121D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52121D | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221D
Deuteranopia (green-blind)
#332F1B
Tritanopia (blue-blind)
#5A0317
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52121d; /* rgb */ color: rgb(82, 18, 29); /* oklch */ color: oklch(29.7% 0.094 15.4);
Tailwind
colors: {
custom: {
50: '#875558',
500: '#52121d',
950: '#000000',
},
}SCSS
$custom: #52121d; $custom-light: #875558; $custom-dark: #000000;
JSON
{
"hex": "#52121d",
"rgb": {
"r": 82,
"g": 18,
"b": 29
},
"hsl": {
"h": 349.688,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29684,
"c": 0.09397,
"h": 15.4
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#52121D
secondary
#358B7C
accent
#E7CA41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878