#52150F#52150F
#52150F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.092 H 29.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #52150F |
|---|---|
| RGB | rgb(82, 21, 15) |
| HSL | hsl(5, 69%, 19%) |
| HSV | hsv(5, 82%, 32%) |
| CMYK | cmyk(0%, 74.4%, 81.7%, 67.8%) |
| CIE-LAB | lab(17.30, 27.96, 19.72) |
| CIE-LCH | lch(17.30, 34.21, 35.19°) |
| OKLab | oklab(29.78% 0.0802 0.0449) |
| OKLCH | oklch(29.78% 0.092 29.3) |
| XYZ | xyz(3.8345, 2.3652, 0.7065) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 3.87
Mahogany
#4A0100
ΔE00 3.90
Deep Brown
#410200
ΔE00 5.22
Rosewood
#65000B
ΔE00 5.30
Reddy Brown
#6E1005
ΔE00 6.99
Claret
#680018
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52150F #0F4C52
analogous
#520F2B #52150F #52370F
triadic
#52150F #0F5215 #150F52
tetradic
#52150F #2B520F #0F4C52 #370F52
square
#52150F #2B520F #0F4C52 #370F52
split-complementary
#52150F #0F5237 #0F2B52
monochromatic
#1A0705 #1E0806 #52150F #862218 #B92F22
Accessibility & contrast
On white
14.26
#52150F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#52150F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52150F
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52150F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52150F | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26220E
Deuteranopia (green-blind)
#362F0D
Tritanopia (blue-blind)
#5B0414
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #52150f; /* rgb */ color: rgb(82, 21, 15); /* oklch */ color: oklch(29.8% 0.092 29.3);
Tailwind
colors: {
custom: {
50: '#89574e',
500: '#52150f',
950: '#000000',
},
}SCSS
$custom: #52150f; $custom-light: #89574e; $custom-dark: #000000;
JSON
{
"hex": "#52150f",
"rgb": {
"r": 82,
"g": 21,
"b": 15
},
"hsl": {
"h": 5.373,
"s": 69.072,
"l": 19.02
},
"oklch": {
"l": 0.29776,
"c": 0.09197,
"h": 29.3
},
"luminance": 0.02365
}Semantic roles & 50–950 ramp
primary
#52150F
secondary
#31848C
accent
#DCEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877