#52151F#52151F
#52151F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.090 H 15.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #52151F |
|---|---|
| RGB | rgb(82, 21, 31) |
| HSL | hsl(350, 59%, 20%) |
| HSV | hsv(350, 74%, 32%) |
| CMYK | cmyk(0%, 74.4%, 62.2%, 67.8%) |
| CIE-LAB | lab(17.60, 29.04, 9.41) |
| CIE-LCH | lch(17.60, 30.52, 17.95°) |
| OKLab | oklab(30.1% 0.0873 0.0233) |
| OKLCH | oklch(30.1% 0.09 15) |
| XYZ | xyz(3.9955, 2.4296, 1.5546) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.02
Maroon (survey)
#650021
ΔE00 5.15
Dark Maroon
#3C0008
ΔE00 5.74
Claret
#680018
ΔE00 6.44
Deep Brown
#410200
ΔE00 6.50
Dried Blood
#4B0101
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#52151F #155248
analogous
#52153D #52151F #522915
triadic
#52151F #1F5215 #151F52
tetradic
#52151F #3D5215 #155248 #291552
square
#52151F #3D5215 #155248 #291552
split-complementary
#52151F #155229 #153D52
monochromatic
#180609 #21090D #52151F #832131 #B32E44
Accessibility & contrast
On white
14.13
#52151F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#52151F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #52151F
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##52151F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##52151F | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#5A0819
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #52151f; /* rgb */ color: rgb(82, 21, 31); /* oklch */ color: oklch(30.1% 0.090 15.0);
Tailwind
colors: {
custom: {
50: '#87575a',
500: '#52151f',
950: '#000000',
},
}SCSS
$custom: #52151f; $custom-light: #87575a; $custom-dark: #000000;
JSON
{
"hex": "#52151f",
"rgb": {
"r": 82,
"g": 21,
"b": 31
},
"hsl": {
"h": 350.164,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.30097,
"c": 0.09033,
"h": 15
},
"luminance": 0.02429
}Semantic roles & 50–950 ramp
primary
#52151F
secondary
#398A7D
accent
#E2C945
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878