#51191B#51191B
#51191B is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 21.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #51191B |
|---|---|
| RGB | rgb(81, 25, 27) |
| HSL | hsl(358, 53%, 21%) |
| HSV | hsv(358, 69%, 32%) |
| CMYK | cmyk(0%, 69.1%, 66.7%, 68.2%) |
| CIE-LAB | lab(18.03, 26.36, 12.76) |
| CIE-LCH | lch(18.03, 29.29, 25.84°) |
| OKLab | oklab(30.35% 0.0781 0.0309) |
| OKLCH | oklch(30.35% 0.084 21.6) |
| XYZ | xyz(3.9392, 2.5242, 1.3165) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dried Blood
#4B0101
ΔE00 5.36
Mahogany
#4A0100
ΔE00 5.45
Deep Brown
#410200
ΔE00 5.45
Dark Maroon
#3C0008
ΔE00 6.36
Claret
#680018
ΔE00 6.47
Maroon (survey)
#650021
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51191B #19514F
analogous
#511937 #51191B #513319
triadic
#51191B #1B5119 #191B51
tetradic
#51191B #375119 #19514F #331951
square
#51191B #375119 #19514F #331951
split-complementary
#51191B #195133 #193751
monochromatic
#170708 #220B0B #51191B #80272B #AF363A
Accessibility & contrast
On white
13.96
#51191B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#51191B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51191B
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51191B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51191B | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#35301A
Tritanopia (blue-blind)
#590E1A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51191b; /* rgb */ color: rgb(81, 25, 27); /* oklch */ color: oklch(30.4% 0.084 21.6);
Tailwind
colors: {
custom: {
50: '#865957',
500: '#51191b',
950: '#000000',
},
}SCSS
$custom: #51191b; $custom-light: #865957; $custom-dark: #000000;
JSON
{
"hex": "#51191b",
"rgb": {
"r": 81,
"g": 25,
"b": 27
},
"hsl": {
"h": 357.857,
"s": 52.83,
"l": 20.784
},
"oklch": {
"l": 0.30351,
"c": 0.08398,
"h": 21.6
},
"luminance": 0.02524
}Semantic roles & 50–950 ramp
primary
#51191B
secondary
#3E8785
accent
#DCD74C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978