#51160F#51160F
#51160F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.7% C 0.090 H 30.0°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #51160F |
|---|---|
| RGB | rgb(81, 22, 15) |
| HSL | hsl(6, 69%, 19%) |
| HSV | hsv(6, 81%, 32%) |
| CMYK | cmyk(0%, 72.8%, 81.5%, 68.2%) |
| CIE-LAB | lab(17.26, 27.09, 19.63) |
| CIE-LCH | lch(17.26, 33.45, 35.93°) |
| OKLab | oklab(29.71% 0.0776 0.0448) |
| OKLCH | oklch(29.71% 0.09 30) |
| XYZ | xyz(3.7669, 2.3582, 0.7087) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 4.14
Mahogany
#4A0100
ΔE00 4.15
Deep Brown
#410200
ΔE00 5.34
Rosewood
#65000B
ΔE00 5.70
Chocolate Brown
#411900
ΔE00 6.88
Reddy Brown
#6E1005
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51160F #0F4A51
analogous
#510F29 #51160F #51370F
triadic
#51160F #0F5116 #160F51
tetradic
#51160F #29510F #0F4A51 #370F51
square
#51160F #29510F #0F4A51 #370F51
split-complementary
#51160F #0F5137 #0F2951
monochromatic
#1A0705 #1D0805 #51160F #852419 #B83222
Accessibility & contrast
On white
14.27
#51160F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#51160F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51160F
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51160F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51160F | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27220E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5A0615
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #51160f; /* rgb */ color: rgb(81, 22, 15); /* oklch */ color: oklch(29.7% 0.090 30.0);
Tailwind
colors: {
custom: {
50: '#88574e',
500: '#51160f',
950: '#000000',
},
}SCSS
$custom: #51160f; $custom-light: #88574e; $custom-dark: #000000;
JSON
{
"hex": "#51160f",
"rgb": {
"r": 81,
"g": 22,
"b": 15
},
"hsl": {
"h": 6.364,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.29713,
"c": 0.08965,
"h": 30
},
"luminance": 0.02358
}Semantic roles & 50–950 ramp
primary
#51160F
secondary
#31828B
accent
#D9EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877