#51180B#51180B
#51180B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 34.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).
Color values
| HEX | #51180B |
|---|---|
| RGB | rgb(81, 24, 11) |
| HSL | hsl(11, 76%, 18%) |
| HSV | hsv(11, 86%, 32%) |
| CMYK | cmyk(0%, 70.4%, 86.4%, 68.2%) |
| CIE-LAB | lab(17.59, 25.91, 21.94) |
| CIE-LCH | lch(17.59, 33.95, 40.26°) |
| OKLab | oklab(29.94% 0.0731 0.0498) |
| OKLCH | oklch(29.94% 0.088 34.2) |
| XYZ | xyz(3.7808, 2.4273, 0.5860) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 5.49
Dried Blood
#4B0101
ΔE00 5.52
Chocolate Brown
#411900
ΔE00 5.53
Rosewood
#65000B
ΔE00 6.61
Deep Brown
#410200
ΔE00 6.69
Reddy Brown
#6E1005
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51180B #0B4451
analogous
#510B21 #51180B #513B0B
triadic
#51180B #0B5118 #180B51
tetradic
#51180B #21510B #0B4451 #3B0B51
square
#51180B #21510B #0B4451 #3B0B51
split-complementary
#51180B #0B513B #0B2151
monochromatic
#1B0804 #1B0804 #51180B #872812 #BD381A
Accessibility & contrast
On white
14.14
#51180B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#51180B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51180B
14.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51180B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51180B | 1.00 | 14.14 | 1.49 | 14.14 |
| #FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#5A0815
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #51180b; /* rgb */ color: rgb(81, 24, 11); /* oklch */ color: oklch(29.9% 0.088 34.2);
Tailwind
colors: {
custom: {
50: '#88584b',
500: '#51180b',
950: '#000000',
},
}SCSS
$custom: #51180b; $custom-light: #88584b; $custom-dark: #000000;
JSON
{
"hex": "#51180b",
"rgb": {
"r": 81,
"g": 24,
"b": 11
},
"hsl": {
"h": 11.143,
"s": 76.087,
"l": 18.039
},
"oklch": {
"l": 0.29939,
"c": 0.08841,
"h": 34.2
},
"luminance": 0.02427
}Semantic roles & 50–950 ramp
primary
#51180B
secondary
#2B7B8D
accent
#CFF335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877