#52150B#52150B
#52150B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.093 H 31.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #52150B |
|---|---|
| RGB | rgb(82, 21, 11) |
| HSL | hsl(8, 76%, 18%) |
| HSV | hsv(8, 87%, 32%) |
| CMYK | cmyk(0%, 74.4%, 86.6%, 67.8%) |
| CIE-LAB | lab(17.25, 27.78, 21.58) |
| CIE-LCH | lch(17.25, 35.18, 37.84°) |
| OKLab | oklab(29.72% 0.0788 0.0491) |
| OKLCH | oklch(29.72% 0.093 31.9) |
| XYZ | xyz(3.8087, 2.3549, 0.5705) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.47
Mahogany
#4A0100
ΔE00 4.47
Rosewood
#65000B
ΔE00 5.59
Deep Brown
#410200
ΔE00 5.89
Reddy Brown
#6E1005
ΔE00 6.48
Chocolate Brown
#411900
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52150B #0B4852
analogous
#520B24 #52150B #52380B
triadic
#52150B #0B5215 #150B52
tetradic
#52150B #24520B #0B4852 #380B52
square
#52150B #24520B #0B4852 #380B52
split-complementary
#52150B #0B5238 #0B2452
monochromatic
#1B0704 #1C0704 #52150B #882312 #BE3119
Accessibility & contrast
On white
14.28
#52150B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52150B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52150B
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52150B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52150B | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#362F08
Tritanopia (blue-blind)
#5B0313
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52150b; /* rgb */ color: rgb(82, 21, 11); /* oklch */ color: oklch(29.7% 0.093 31.9);
Tailwind
colors: {
custom: {
50: '#89574b',
500: '#52150b',
950: '#000000',
},
}SCSS
$custom: #52150b; $custom-light: #89574b; $custom-dark: #000000;
JSON
{
"hex": "#52150b",
"rgb": {
"r": 82,
"g": 21,
"b": 11
},
"hsl": {
"h": 8.451,
"s": 76.344,
"l": 18.235
},
"oklch": {
"l": 0.29724,
"c": 0.0928,
"h": 31.9
},
"luminance": 0.02354
}Semantic roles & 50–950 ramp
primary
#52150B
secondary
#2B808E
accent
#D8F335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877