#51191F#51191F
#51191F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.084 H 17.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #51191F |
|---|---|
| RGB | rgb(81, 25, 31) |
| HSL | hsl(354, 53%, 21%) |
| HSV | hsv(354, 69%, 32%) |
| CMYK | cmyk(0%, 69.1%, 61.7%, 68.2%) |
| CIE-LAB | lab(18.12, 26.70, 10.07) |
| CIE-LCH | lch(18.12, 28.53, 20.66°) |
| OKLab | oklab(30.45% 0.0799 0.0249) |
| OKLCH | oklch(30.45% 0.084 17.3) |
| XYZ | xyz(3.9886, 2.5440, 1.5771) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 6.11
Maroon (survey)
#650021
ΔE00 6.19
Burgundy (survey)
#610023
ΔE00 6.25
Deep Brown
#410200
ΔE00 6.33
Dried Blood
#4B0101
ΔE00 6.61
Mahogany
#4A0100
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51191F #19514B
analogous
#51193B #51191F #512F19
triadic
#51191F #1F5119 #191F51
tetradic
#51191F #3B5119 #19514B #2F1951
square
#51191F #3B5119 #19514B #2F1951
split-complementary
#51191F #19512F #193B51
monochromatic
#170709 #220B0D #51191F #802731 #AF3643
Accessibility & contrast
On white
13.92
#51191F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#51191F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51191F
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51191F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51191F | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#35311E
Tritanopia (blue-blind)
#590F1B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #51191f; /* rgb */ color: rgb(81, 25, 31); /* oklch */ color: oklch(30.4% 0.084 17.3);
Tailwind
colors: {
custom: {
50: '#86595a',
500: '#51191f',
950: '#000000',
},
}SCSS
$custom: #51191f; $custom-light: #86595a; $custom-dark: #000000;
JSON
{
"hex": "#51191f",
"rgb": {
"r": 81,
"g": 25,
"b": 31
},
"hsl": {
"h": 353.571,
"s": 52.83,
"l": 20.784
},
"oklch": {
"l": 0.30446,
"c": 0.08374,
"h": 17.3
},
"luminance": 0.02544
}Semantic roles & 50–950 ramp
primary
#51191F
secondary
#3E8780
accent
#DCCD4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978