#781F22#781F22
#781F22 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.123 H 23.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #781F22 |
|---|---|
| RGB | rgb(120, 31, 34) |
| HSL | hsl(358, 59%, 30%) |
| HSV | hsv(358, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 71.7%, 52.9%) |
| CIE-LAB | lab(26.99, 38.52, 20.94) |
| CIE-LCH | lch(26.99, 43.85, 28.53°) |
| OKLab | oklab(38.55% 0.1128 0.0487) |
| OKLCH | oklch(38.55% 0.123 23.3) |
| XYZ | xyz(8.5254, 5.0898, 2.0466) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.04
Wine Red
#7B0323
ΔE00 4.69
Claret
#680018
ΔE00 5.56
Rosewood
#65000B
ΔE00 5.92
Crimson (survey)
#8C000F
ΔE00 6.47
Wine
#722F37
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F22 #1F7875
analogous
#781F4E #781F22 #78491F
triadic
#781F22 #22781F #1F2278
tetradic
#781F22 #4E781F #1F7875 #491F78
square
#781F22 #4E781F #1F7875 #491F78
split-complementary
#781F22 #1F7849 #1F4E78
monochromatic
#180607 #471214 #781F22 #A92C30 #CE4348
Accessibility & contrast
On white
10.41
#781F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#781F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F22
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F22 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#4E471F
Tritanopia (blue-blind)
#840121
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781f22; /* rgb */ color: rgb(120, 31, 34); /* oklch */ color: oklch(38.5% 0.123 23.3);
Tailwind
colors: {
custom: {
50: '#a6625d',
500: '#781f22',
950: '#000000',
},
}SCSS
$custom: #781f22; $custom-light: #a6625d; $custom-dark: #000000;
JSON
{
"hex": "#781f22",
"rgb": {
"r": 120,
"g": 31,
"b": 34
},
"hsl": {
"h": 357.978,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.38548,
"c": 0.12287,
"h": 23.3
},
"luminance": 0.05089
}Semantic roles & 50–950 ramp
primary
#781F22
secondary
#47ABA8
accent
#E2DD46
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110504
muted
#807A79