#51180F#51180F
#51180F is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.0% C 0.087 H 31.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).
Color values
| HEX | #51180F |
|---|---|
| RGB | rgb(81, 24, 15) |
| HSL | hsl(8, 69%, 19%) |
| HSV | hsv(8, 81%, 32%) |
| CMYK | cmyk(0%, 70.4%, 81.5%, 68.2%) |
| CIE-LAB | lab(17.63, 26.09, 20.08) |
| CIE-LCH | lch(17.63, 32.92, 37.58°) |
| OKLab | oklab(29.99% 0.0745 0.0457) |
| OKLCH | oklch(29.99% 0.087 31.5) |
| XYZ | xyz(3.8066, 2.4376, 0.7219) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mahogany
#4A0100
ΔE00 4.82
Dried Blood
#4B0101
ΔE00 4.82
Deep Brown
#410200
ΔE00 5.93
Rosewood
#65000B
ΔE00 6.17
Chocolate Brown
#411900
ΔE00 6.26
Reddy Brown
#6E1005
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51180F #0F4851
analogous
#510F27 #51180F #51390F
triadic
#51180F #0F5118 #180F51
tetradic
#51180F #27510F #0F4851 #390F51
square
#51180F #27510F #0F4851 #390F51
split-complementary
#51180F #0F5139 #0F2751
monochromatic
#1A0805 #1D0905 #51180F #852719 #B83722
Accessibility & contrast
On white
14.12
#51180F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#51180F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51180F
14.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51180F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51180F | 1.00 | 14.12 | 1.49 | 14.12 |
| #FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28230E
Deuteranopia (green-blind)
#36300D
Tritanopia (blue-blind)
#5A0916
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #51180f; /* rgb */ color: rgb(81, 24, 15); /* oklch */ color: oklch(30.0% 0.087 31.5);
Tailwind
colors: {
custom: {
50: '#87584e',
500: '#51180f',
950: '#000000',
},
}SCSS
$custom: #51180f; $custom-light: #87584e; $custom-dark: #000000;
JSON
{
"hex": "#51180f",
"rgb": {
"r": 81,
"g": 24,
"b": 15
},
"hsl": {
"h": 8.182,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.2999,
"c": 0.08743,
"h": 31.5
},
"luminance": 0.02437
}Semantic roles & 50–950 ramp
primary
#51180F
secondary
#317F8B
accent
#D4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877