#511F1C#511F1C
#511F1C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.076 H 25.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #511F1C |
|---|---|
| RGB | rgb(81, 31, 28) |
| HSL | hsl(3, 49%, 21%) |
| HSV | hsv(3, 65%, 32%) |
| CMYK | cmyk(0%, 61.7%, 65.4%, 68.2%) |
| CIE-LAB | lab(19.28, 23.18, 13.69) |
| CIE-LCH | lch(19.28, 26.92, 30.56°) |
| OKLab | oklab(31.3% 0.0683 0.0331) |
| OKLCH | oklch(31.3% 0.076 25.8) |
| XYZ | xyz(4.0933, 2.8136, 1.4259) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 6.32
Mahogany
#4A0100
ΔE00 6.36
Deep Brown
#410200
ΔE00 6.53
Rosewood
#65000B
ΔE00 7.85
Claret
#680018
ΔE00 7.86
Dark Maroon
#3C0008
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F1C #1C4E51
analogous
#511C34 #511F1C #513A1C
triadic
#511F1C #1C511F #1F1C51
tetradic
#511F1C #34511C #1C4E51 #3A1C51
square
#511F1C #34511C #1C4E51 #3A1C51
split-complementary
#511F1C #1C513A #1C3451
monochromatic
#170908 #240E0C #511F1C #7E302C #AC423B
Accessibility & contrast
On white
13.44
#511F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#511F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F1C
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F1C | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#38331B
Tritanopia (blue-blind)
#59161F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #511f1c; /* rgb */ color: rgb(81, 31, 28); /* oklch */ color: oklch(31.3% 0.076 25.8);
Tailwind
colors: {
custom: {
50: '#865d58',
500: '#511f1c',
950: '#000000',
},
}SCSS
$custom: #511f1c; $custom-light: #865d58; $custom-dark: #000000;
JSON
{
"hex": "#511f1c",
"rgb": {
"r": 81,
"g": 31,
"b": 28
},
"hsl": {
"h": 3.396,
"s": 48.624,
"l": 21.373
},
"oklch": {
"l": 0.31302,
"c": 0.07589,
"h": 25.8
},
"luminance": 0.02813
}Semantic roles & 50–950 ramp
primary
#511F1C
secondary
#428387
accent
#D0D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978