#511F2B#511F2B
#511F2B is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.076 H 7.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #511F2B |
|---|---|
| RGB | rgb(81, 31, 43) |
| HSL | hsl(346, 45%, 22%) |
| HSV | hsv(346, 62%, 32%) |
| CMYK | cmyk(0%, 61.7%, 46.9%, 68.2%) |
| CIE-LAB | lab(19.66, 24.74, 3.75) |
| CIE-LCH | lch(19.66, 25.03, 8.62°) |
| OKLab | oklab(31.71% 0.0752 0.0099) |
| OKLCH | oklch(31.71% 0.076 7.5) |
| XYZ | xyz(4.3197, 2.9042, 2.6181) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 6.89
Maroon (survey)
#650021
ΔE00 7.65
Purple Brown
#673A3F
ΔE00 8.09
Wine
#722F37
ΔE00 8.09
Dark Maroon
#3C0008
ΔE00 8.43
Merlot
#730039
ΔE00 9.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#511F2B #1F5145
analogous
#511F44 #511F2B #512C1F
triadic
#511F2B #2B511F #1F2B51
tetradic
#511F2B #44511F #1F5145 #2C1F51
square
#511F2B #44511F #1F5145 #2C1F51
split-complementary
#511F2B #1F512C #1F4451
monochromatic
#16080C #250E14 #511F2B #7D3042 #AA415A
Accessibility & contrast
On white
13.28
#511F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#511F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #511F2B
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##511F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##511F2B | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#36332A
Tritanopia (blue-blind)
#581923
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #511f2b; /* rgb */ color: rgb(81, 31, 43); /* oklch */ color: oklch(31.7% 0.076 7.5);
Tailwind
colors: {
custom: {
50: '#855d64',
500: '#511f2b',
950: '#000000',
},
}SCSS
$custom: #511f2b; $custom-light: #855d64; $custom-dark: #000000;
JSON
{
"hex": "#511f2b",
"rgb": {
"r": 81,
"g": 31,
"b": 43
},
"hsl": {
"h": 345.6,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.31706,
"c": 0.07586,
"h": 7.5
},
"luminance": 0.02904
}Semantic roles & 50–950 ramp
primary
#511F2B
secondary
#468676
accent
#D4B553
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979