#511C1C#511C1C
#511C1C is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.8% C 0.080 H 23.0°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #511C1C |
|---|---|
| RGB | rgb(81, 28, 28) |
| HSL | hsl(0, 49%, 21%) |
| HSV | hsv(0, 65%, 32%) |
| CMYK | cmyk(0%, 65.4%, 65.4%, 68.2%) |
| CIE-LAB | lab(18.65, 24.85, 12.87) |
| CIE-LCH | lch(18.65, 27.99, 27.37°) |
| OKLab | oklab(30.82% 0.0736 0.0312) |
| OKLCH | oklch(30.82% 0.08 23) |
| XYZ | xyz(4.0186, 2.6642, 1.4010) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.83
Mahogany
#4A0100
ΔE00 5.90
Deep Brown
#410200
ΔE00 5.94
Dark Maroon
#3C0008
ΔE00 7.02
Claret
#680018
ΔE00 7.06
Rosewood
#65000B
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511C1C #1C5151
analogous
#511C37 #511C1C #51371C
triadic
#511C1C #1C511C #1C1C51
tetradic
#511C1C #37511C #1C5151 #371C51
square
#511C1C #37511C #1C5151 #371C51
split-complementary
#511C1C #1C5137 #1C3751
monochromatic
#170808 #240C0C #511C1C #7E2C2C #AC3B3B
Accessibility & contrast
On white
13.70
#511C1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#511C1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511C1C
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511C1C | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29261C
Deuteranopia (green-blind)
#37321B
Tritanopia (blue-blind)
#59121D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #511c1c; /* rgb */ color: rgb(81, 28, 28); /* oklch */ color: oklch(30.8% 0.080 23.0);
Tailwind
colors: {
custom: {
50: '#865b58',
500: '#511c1c',
950: '#000000',
},
}SCSS
$custom: #511c1c; $custom-light: #865b58; $custom-dark: #000000;
JSON
{
"hex": "#511c1c",
"rgb": {
"r": 81,
"g": 28,
"b": 28
},
"hsl": {
"h": 0,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.30822,
"c": 0.07989,
"h": 23
},
"luminance": 0.02664
}Semantic roles & 50–950 ramp
primary
#511C1C
secondary
#428787
accent
#D8D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978