#781F17#781F17
#781F17 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.124 H 29.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #781F17 |
|---|---|
| RGB | rgb(120, 31, 23) |
| HSL | hsl(5, 68%, 28%) |
| HSV | hsv(5, 81%, 47%) |
| CMYK | cmyk(0%, 74.2%, 80.8%, 52.9%) |
| CIE-LAB | lab(26.84, 37.99, 27.67) |
| CIE-LCH | lch(26.84, 47.00, 36.07°) |
| OKLab | oklab(38.39% 0.1087 0.0608) |
| OKLCH | oklch(38.39% 0.125 29.2) |
| XYZ | xyz(8.3913, 5.0362, 1.3407) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.61
Blood
#770001
ΔE00 4.06
Maroon
#800000
ΔE00 4.48
Indian Red
#850E04
ΔE00 4.55
Crimson (survey)
#8C000F
ΔE00 4.71
Dark Red
#840000
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F17 #177078
analogous
#781740 #781F17 #784F17
triadic
#781F17 #17781F #1F1778
tetradic
#781F17 #407817 #177078 #4F1778
square
#781F17 #407817 #177078 #4F1778
split-complementary
#781F17 #17784F #174078
monochromatic
#1A0705 #45120D #781F17 #AB2C21 #D83F32
Accessibility & contrast
On white
10.46
#781F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#781F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F17
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F17 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#4F4713
Tritanopia (blue-blind)
#85001E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #781f17; /* rgb */ color: rgb(120, 31, 23); /* oklch */ color: oklch(38.4% 0.124 29.2);
Tailwind
colors: {
custom: {
50: '#a66155',
500: '#781f17',
950: '#000000',
},
}SCSS
$custom: #781f17; $custom-light: #a66155; $custom-dark: #000000;
JSON
{
"hex": "#781f17",
"rgb": {
"r": 120,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.948,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.38387,
"c": 0.1245,
"h": 29.2
},
"luminance": 0.05035
}Semantic roles & 50–950 ramp
primary
#781F17
secondary
#3EA4AD
accent
#DCEB3D
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78