#781817#781817
#781817 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.131 H 26.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #781817 |
|---|---|
| RGB | rgb(120, 24, 23) |
| HSL | hsl(1, 68%, 28%) |
| HSV | hsv(1, 81%, 47%) |
| CMYK | cmyk(0%, 80%, 80.8%, 52.9%) |
| CIE-LAB | lab(25.89, 40.62, 26.68) |
| CIE-LCH | lch(25.89, 48.60, 33.29°) |
| OKLab | oklab(37.68% 0.1169 0.0586) |
| OKLCH | oklch(37.68% 0.131 26.6) |
| XYZ | xyz(8.2280, 4.7095, 1.2862) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood
#770001
ΔE00 3.95
Reddy Brown
#6E1005
ΔE00 3.96
Crimson (survey)
#8C000F
ΔE00 4.42
Maroon
#800000
ΔE00 4.74
Rosewood
#65000B
ΔE00 4.88
Dark Red
#840000
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781817 #177778
analogous
#781746 #781817 #784917
triadic
#781817 #177818 #181778
tetradic
#781817 #467817 #177778 #491778
square
#781817 #467817 #177778 #491778
split-complementary
#781817 #177849 #174678
monochromatic
#1A0505 #450E0D #781817 #AB2221 #D83332
Accessibility & contrast
On white
10.82
#781817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#781817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781817
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781817 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#850019
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #781817; /* rgb */ color: rgb(120, 24, 23); /* oklch */ color: oklch(37.7% 0.131 26.6);
Tailwind
colors: {
custom: {
50: '#a75e54',
500: '#781817',
950: '#000000',
},
}SCSS
$custom: #781817; $custom-light: #a75e54; $custom-dark: #000000;
JSON
{
"hex": "#781817",
"rgb": {
"r": 120,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.619,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37681,
"c": 0.13078,
"h": 26.6
},
"luminance": 0.04708
}Semantic roles & 50–950 ramp
primary
#781817
secondary
#3EACAD
accent
#E9EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978