#52120F#52120F
#52120F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 27.4°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #52120F |
|---|---|
| RGB | rgb(82, 18, 15) |
| HSL | hsl(3, 69%, 19%) |
| HSV | hsv(3, 82%, 32%) |
| CMYK | cmyk(0%, 78%, 81.7%, 67.8%) |
| CIE-LAB | lab(16.80, 29.31, 19.11) |
| CIE-LCH | lch(16.80, 34.99, 33.11°) |
| OKLab | oklab(29.41% 0.0845 0.0438) |
| OKLCH | oklch(29.41% 0.095 27.4) |
| XYZ | xyz(3.7826, 2.2615, 0.6892) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.09
Mahogany
#4A0100
ΔE00 3.16
Deep Brown
#410200
ΔE00 4.57
Rosewood
#65000B
ΔE00 4.86
Claret
#680018
ΔE00 6.29
Reddy Brown
#6E1005
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52120F #0F4F52
analogous
#520F2E #52120F #52340F
triadic
#52120F #0F5212 #120F52
tetradic
#52120F #2E520F #0F4F52 #340F52
square
#52120F #2E520F #0F4F52 #340F52
split-complementary
#52120F #0F5234 #0F2E52
monochromatic
#1A0605 #1E0706 #52120F #861D18 #B92922
Accessibility & contrast
On white
14.46
#52120F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#52120F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52120F
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52120F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52120F | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #52120f; /* rgb */ color: rgb(82, 18, 15); /* oklch */ color: oklch(29.4% 0.095 27.4);
Tailwind
colors: {
custom: {
50: '#89554e',
500: '#52120f',
950: '#000000',
},
}SCSS
$custom: #52120f; $custom-light: #89554e; $custom-dark: #000000;
JSON
{
"hex": "#52120f",
"rgb": {
"r": 82,
"g": 18,
"b": 15
},
"hsl": {
"h": 2.687,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29407,
"c": 0.09515,
"h": 27.4
},
"luminance": 0.02261
}Semantic roles & 50–950 ramp
primary
#52120F
secondary
#31888C
accent
#E4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877