#51191C#51191C
#51191C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 20.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #51191C |
|---|---|
| RGB | rgb(81, 25, 28) |
| HSL | hsl(357, 53%, 21%) |
| HSV | hsv(357, 69%, 32%) |
| CMYK | cmyk(0%, 69.1%, 65.4%, 68.2%) |
| CIE-LAB | lab(18.05, 26.44, 12.09) |
| CIE-LCH | lch(18.05, 29.07, 24.58°) |
| OKLab | oklab(30.37% 0.0786 0.0294) |
| OKLCH | oklch(30.37% 0.084 20.5) |
| XYZ | xyz(3.9509, 2.5290, 1.3785) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Brown
#410200
ΔE00 5.62
Dried Blood
#4B0101
ΔE00 5.64
Mahogany
#4A0100
ΔE00 5.72
Dark Maroon
#3C0008
ΔE00 6.24
Claret
#680018
ΔE00 6.50
Maroon (survey)
#650021
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51191C #19514E
analogous
#511938 #51191C #513219
triadic
#51191C #1C5119 #191C51
tetradic
#51191C #385119 #19514E #321951
square
#51191C #385119 #19514E #321951
split-complementary
#51191C #195132 #193851
monochromatic
#170708 #220B0C #51191C #80272C #AF363C
Accessibility & contrast
On white
13.95
#51191C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#51191C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51191C
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51191C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51191C | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251C
Deuteranopia (green-blind)
#35311B
Tritanopia (blue-blind)
#590E1A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51191c; /* rgb */ color: rgb(81, 25, 28); /* oklch */ color: oklch(30.4% 0.084 20.5);
Tailwind
colors: {
custom: {
50: '#865958',
500: '#51191c',
950: '#000000',
},
}SCSS
$custom: #51191c; $custom-light: #865958; $custom-dark: #000000;
JSON
{
"hex": "#51191c",
"rgb": {
"r": 81,
"g": 25,
"b": 28
},
"hsl": {
"h": 356.786,
"s": 52.83,
"l": 20.784
},
"oklch": {
"l": 0.30374,
"c": 0.08389,
"h": 20.5
},
"luminance": 0.02528
}Semantic roles & 50–950 ramp
primary
#51191C
secondary
#3E8784
accent
#DCD44C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978