#782218#782218
#782218 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.7% C 0.121 H 30.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #782218 |
|---|---|
| RGB | rgb(120, 34, 24) |
| HSL | hsl(6, 67%, 28%) |
| HSV | hsv(6, 80%, 47%) |
| CMYK | cmyk(0%, 71.7%, 80%, 52.9%) |
| CIE-LAB | lab(27.31, 36.77, 27.57) |
| CIE-LCH | lch(27.31, 45.96, 36.86°) |
| OKLab | oklab(38.74% 0.1051 0.0609) |
| OKLCH | oklch(38.74% 0.121 30.1) |
| XYZ | xyz(8.4836, 5.2043, 1.4218) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.87
Blood
#770001
ΔE00 4.48
Indian Red
#850E04
ΔE00 4.64
Maroon
#800000
ΔE00 4.76
Dark Red
#840000
ΔE00 5.05
Crimson (survey)
#8C000F
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782218 #186E78
analogous
#78183E #782218 #785218
triadic
#782218 #187822 #221878
tetradic
#782218 #3E7818 #186E78 #521878
square
#782218 #3E7818 #186E78 #521878
split-complementary
#782218 #187852 #183E78
monochromatic
#1A0705 #45140E #782218 #AB3022 #D64534
Accessibility & contrast
On white
10.29
#782218 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#782218 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782218
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782218 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#850520
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #782218; /* rgb */ color: rgb(120, 34, 24); /* oklch */ color: oklch(38.7% 0.121 30.1);
Tailwind
colors: {
custom: {
50: '#a66355',
500: '#782218',
950: '#000000',
},
}SCSS
$custom: #782218; $custom-light: #a66355; $custom-dark: #000000;
JSON
{
"hex": "#782218",
"rgb": {
"r": 120,
"g": 34,
"b": 24
},
"hsl": {
"h": 6.25,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.38744,
"c": 0.12142,
"h": 30.1
},
"luminance": 0.05203
}Semantic roles & 50–950 ramp
primary
#782218
secondary
#3FA1AD
accent
#D8EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78