#511F1F#511F1F
#511F1F is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.075 H 22.4°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #511F1F |
|---|---|
| RGB | rgb(81, 31, 31) |
| HSL | hsl(0, 45%, 22%) |
| HSV | hsv(0, 62%, 32%) |
| CMYK | cmyk(0%, 61.7%, 61.7%, 68.2%) |
| CIE-LAB | lab(19.34, 23.45, 11.70) |
| CIE-LCH | lch(19.34, 26.21, 26.52°) |
| OKLab | oklab(31.37% 0.0697 0.0287) |
| OKLCH | oklch(31.37% 0.075 22.4) |
| XYZ | xyz(4.1310, 2.8287, 1.6245) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 6.75
Dried Blood
#4B0101
ΔE00 6.79
Mahogany
#4A0100
ΔE00 6.85
Dark Maroon
#3C0008
ΔE00 7.53
Claret
#680018
ΔE00 7.71
Maroon (survey)
#650021
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F1F #1F5151
analogous
#511F38 #511F1F #51381F
triadic
#511F1F #1F511F #1F1F51
tetradic
#511F1F #38511F #1F5151 #381F51
square
#511F1F #38511F #1F5151 #381F51
split-complementary
#511F1F #1F5138 #1F3851
monochromatic
#160808 #250E0E #511F1F #7D3030 #AA4141
Accessibility & contrast
On white
13.41
#511F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#511F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F1F
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F1F | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B281F
Deuteranopia (green-blind)
#38331E
Tritanopia (blue-blind)
#59171F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #511f1f; /* rgb */ color: rgb(81, 31, 31); /* oklch */ color: oklch(31.4% 0.075 22.4);
Tailwind
colors: {
custom: {
50: '#865d5a',
500: '#511f1f',
950: '#000000',
},
}SCSS
$custom: #511f1f; $custom-light: #865d5a; $custom-dark: #000000;
JSON
{
"hex": "#511f1f",
"rgb": {
"r": 81,
"g": 31,
"b": 31
},
"hsl": {
"h": 0,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.3137,
"c": 0.07539,
"h": 22.4
},
"luminance": 0.02828
}Semantic roles & 50–950 ramp
primary
#511F1F
secondary
#468686
accent
#D4D453
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978