#51181F#51181F
#51181F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.085 H 16.6°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).
Color values
| HEX | #51181F |
|---|---|
| RGB | rgb(81, 24, 31) |
| HSL | hsl(353, 54%, 21%) |
| HSV | hsv(353, 70%, 32%) |
| CMYK | cmyk(0%, 70.4%, 61.7%, 68.2%) |
| CIE-LAB | lab(17.93, 27.21, 9.82) |
| CIE-LCH | lch(17.93, 28.92, 19.84°) |
| OKLab | oklab(30.31% 0.0816 0.0243) |
| OKLCH | oklch(30.31% 0.085 16.6) |
| XYZ | xyz(3.9677, 2.5020, 1.5701) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.94
Maroon (survey)
#650021
ΔE00 5.94
Dark Maroon
#3C0008
ΔE00 5.96
Deep Brown
#410200
ΔE00 6.35
Dried Blood
#4B0101
ΔE00 6.67
Claret
#680018
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51181F #18514A
analogous
#51183B #51181F #512D18
triadic
#51181F #1F5118 #181F51
tetradic
#51181F #3B5118 #18514A #2D1851
square
#51181F #3B5118 #18514A #2D1851
split-complementary
#51181F #18512D #183B51
monochromatic
#180709 #220A0D #51181F #802631 #AF3443
Accessibility & contrast
On white
14.00
#51181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51181F
14.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51181F | 1.00 | 14.00 | 1.50 | 14.00 |
| #FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#590D1B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51181f; /* rgb */ color: rgb(81, 24, 31); /* oklch */ color: oklch(30.3% 0.085 16.6);
Tailwind
colors: {
custom: {
50: '#86585a',
500: '#51181f',
950: '#000000',
},
}SCSS
$custom: #51181f; $custom-light: #86585a; $custom-dark: #000000;
JSON
{
"hex": "#51181f",
"rgb": {
"r": 81,
"g": 24,
"b": 31
},
"hsl": {
"h": 352.632,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.30305,
"c": 0.08512,
"h": 16.6
},
"luminance": 0.02502
}Semantic roles & 50–950 ramp
primary
#51181F
secondary
#3D887F
accent
#DECC4A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878