#52121F#52121F
#52121F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.094 H 13.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #52121F |
|---|---|
| RGB | rgb(82, 18, 31) |
| HSL | hsl(348, 64%, 20%) |
| HSV | hsv(348, 78%, 32%) |
| CMYK | cmyk(0%, 78%, 62.2%, 67.8%) |
| CIE-LAB | lab(17.11, 30.37, 8.75) |
| CIE-LCH | lch(17.11, 31.61, 16.07°) |
| OKLab | oklab(29.74% 0.0915 0.0218) |
| OKLCH | oklch(29.74% 0.094 13.4) |
| XYZ | xyz(3.9437, 2.3259, 1.5373) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.35
Maroon (survey)
#650021
ΔE00 4.71
Dark Maroon
#3C0008
ΔE00 5.57
Claret
#680018
ΔE00 6.51
Deep Brown
#410200
ΔE00 6.75
Dried Blood
#4B0101
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52121F #125245
analogous
#52123F #52121F #522512
triadic
#52121F #1F5212 #121F52
tetradic
#52121F #3F5212 #125245 #251252
square
#52121F #3F5212 #125245 #251252
split-complementary
#52121F #125225 #123F52
monochromatic
#190609 #20070C #52121F #841D32 #B62845
Accessibility & contrast
On white
14.33
#52121F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52121F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52121F
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52121F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52121F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23221F
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#5A0317
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52121f; /* rgb */ color: rgb(82, 18, 31); /* oklch */ color: oklch(29.7% 0.094 13.4);
Tailwind
colors: {
custom: {
50: '#87565a',
500: '#52121f',
950: '#000000',
},
}SCSS
$custom: #52121f; $custom-light: #87565a; $custom-dark: #000000;
JSON
{
"hex": "#52121f",
"rgb": {
"r": 82,
"g": 18,
"b": 31
},
"hsl": {
"h": 347.813,
"s": 64,
"l": 19.608
},
"oklch": {
"l": 0.29736,
"c": 0.0941,
"h": 13.4
},
"luminance": 0.02325
}Semantic roles & 50–950 ramp
primary
#52121F
secondary
#358B79
accent
#E7C541
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878