#781717#781717
#781717 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.132 H 26.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #781717 |
|---|---|
| RGB | rgb(120, 23, 23) |
| HSL | hsl(0, 68%, 28%) |
| HSV | hsv(0, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 80.8%, 52.9%) |
| CIE-LAB | lab(25.77, 40.96, 26.55) |
| CIE-LCH | lch(25.77, 48.81, 32.95°) |
| OKLab | oklab(37.59% 0.118 0.0583) |
| OKLCH | oklch(37.59% 0.132 26.3) |
| XYZ | xyz(8.2078, 4.6690, 1.2795) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood
#770001
ΔE00 3.99
Reddy Brown
#6E1005
ΔE00 4.05
Crimson (survey)
#8C000F
ΔE00 4.44
Rosewood
#65000B
ΔE00 4.76
Maroon
#800000
ΔE00 4.82
Dark Red
#840000
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781717 #177878
analogous
#781747 #781717 #784717
triadic
#781717 #177817 #171778
tetradic
#781717 #477817 #177878 #471778
square
#781717 #477817 #177878 #471778
split-complementary
#781717 #177847 #174778
monochromatic
#1A0505 #450D0D #781717 #AB2121 #D83232
Accessibility & contrast
On white
10.86
#781717 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#781717 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781717
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781717 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#4D4513
Tritanopia (blue-blind)
#850018
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #781717; /* rgb */ color: rgb(120, 23, 23); /* oklch */ color: oklch(37.6% 0.132 26.3);
Tailwind
colors: {
custom: {
50: '#a75e54',
500: '#781717',
950: '#000000',
},
}SCSS
$custom: #781717; $custom-light: #a75e54; $custom-dark: #000000;
JSON
{
"hex": "#781717",
"rgb": {
"r": 120,
"g": 23,
"b": 23
},
"hsl": {
"h": 0,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37591,
"c": 0.13161,
"h": 26.3
},
"luminance": 0.04668
}Semantic roles & 50–950 ramp
primary
#781717
secondary
#3EADAD
accent
#EBEB3D
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978