#781818#781818
#781818 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.131 H 26.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #781818 |
|---|---|
| RGB | rgb(120, 24, 24) |
| HSL | hsl(0, 67%, 28%) |
| HSV | hsv(0, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 80%, 52.9%) |
| CIE-LAB | lab(25.90, 40.66, 26.07) |
| CIE-LCH | lch(25.90, 48.30, 32.67°) |
| OKLab | oklab(37.69% 0.1173 0.0576) |
| OKLCH | oklch(37.69% 0.131 26.2) |
| XYZ | xyz(8.2382, 4.7136, 1.3400) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Blood
#770001
ΔE00 4.24
Reddy Brown
#6E1005
ΔE00 4.25
Crimson (survey)
#8C000F
ΔE00 4.57
Rosewood
#65000B
ΔE00 4.82
Maroon
#800000
ΔE00 5.04
Burgundy
#800020
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781818 #187878
analogous
#781848 #781818 #784818
triadic
#781818 #187818 #181878
tetradic
#781818 #487818 #187878 #481878
square
#781818 #487818 #187878 #481878
split-complementary
#781818 #187848 #184878
monochromatic
#1A0505 #450E0E #781818 #AB2222 #D63434
Accessibility & contrast
On white
10.81
#781818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#781818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781818
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781818 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#850019
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #781818; /* rgb */ color: rgb(120, 24, 24); /* oklch */ color: oklch(37.7% 0.131 26.2);
Tailwind
colors: {
custom: {
50: '#a75e55',
500: '#781818',
950: '#000000',
},
}SCSS
$custom: #781818; $custom-light: #a75e55; $custom-dark: #000000;
JSON
{
"hex": "#781818",
"rgb": {
"r": 120,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.37694,
"c": 0.13065,
"h": 26.2
},
"luminance": 0.04712
}Semantic roles & 50–950 ramp
primary
#781818
secondary
#3FADAD
accent
#EAEA3E
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#110503
muted
#807978