#781C17#781C17
#781C17 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 28.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #781C17 |
|---|---|
| RGB | rgb(120, 28, 23) |
| HSL | hsl(3, 68%, 28%) |
| HSV | hsv(3, 81%, 47%) |
| CMYK | cmyk(0%, 76.7%, 80.8%, 52.9%) |
| CIE-LAB | lab(26.41, 39.18, 27.22) |
| CIE-LCH | lch(26.41, 47.71, 34.80°) |
| OKLab | oklab(38.07% 0.1124 0.0598) |
| OKLCH | oklch(38.07% 0.127 28) |
| XYZ | xyz(8.3166, 4.8867, 1.3158) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.67
Blood
#770001
ΔE00 3.91
Crimson (survey)
#8C000F
ΔE00 4.50
Maroon
#800000
ΔE00 4.51
Indian Red
#850E04
ΔE00 4.80
Dark Red
#840000
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781C17 #177378
analogous
#781742 #781C17 #784C17
triadic
#781C17 #17781C #1C1778
tetradic
#781C17 #427817 #177378 #4C1778
square
#781C17 #427817 #177378 #4C1778
split-complementary
#781C17 #17784C #174278
monochromatic
#1A0605 #45100D #781C17 #AB2821 #D83A32
Accessibility & contrast
On white
10.62
#781C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#781C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781C17
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781C17 | 1.00 | 10.62 | 1.98 | 10.62 |
| #FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383215
Deuteranopia (green-blind)
#4E4613
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #781c17; /* rgb */ color: rgb(120, 28, 23); /* oklch */ color: oklch(38.1% 0.127 28.0);
Tailwind
colors: {
custom: {
50: '#a76054',
500: '#781c17',
950: '#000000',
},
}SCSS
$custom: #781c17; $custom-light: #a76054; $custom-dark: #000000;
JSON
{
"hex": "#781c17",
"rgb": {
"r": 120,
"g": 28,
"b": 23
},
"hsl": {
"h": 3.093,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.38067,
"c": 0.12729,
"h": 28
},
"luminance": 0.04885
}Semantic roles & 50–950 ramp
primary
#781C17
secondary
#3EA7AD
accent
#E2EB3D
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978