#781F26#781F26
#781F26 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.123 H 20.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #781F26 |
|---|---|
| RGB | rgb(120, 31, 38) |
| HSL | hsl(355, 59%, 30%) |
| HSV | hsv(355, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 68.3%, 52.9%) |
| CIE-LAB | lab(27.06, 38.76, 18.41) |
| CIE-LCH | lch(27.06, 42.91, 25.41°) |
| OKLab | oklab(38.62% 0.1145 0.0436) |
| OKLCH | oklch(38.62% 0.123 20.9) |
| XYZ | xyz(8.5865, 5.1142, 2.3684) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.55
Wine Red
#7B0323
ΔE00 3.68
Claret
#680018
ΔE00 5.19
Wine
#722F37
ΔE00 5.46
Bordeaux
#7B002C
ΔE00 6.27
Rosewood
#65000B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F26 #1F7871
analogous
#781F53 #781F26 #78451F
triadic
#781F26 #26781F #1F2678
tetradic
#781F26 #53781F #1F7871 #451F78
square
#781F26 #53781F #1F7871 #451F78
split-complementary
#781F26 #1F7845 #1F5378
monochromatic
#180608 #471217 #781F26 #A92C35 #CE434E
Accessibility & contrast
On white
10.38
#781F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#781F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F26
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F26 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#840322
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781f26; /* rgb */ color: rgb(120, 31, 38); /* oklch */ color: oklch(38.6% 0.123 20.9);
Tailwind
colors: {
custom: {
50: '#a56260',
500: '#781f26',
950: '#000000',
},
}SCSS
$custom: #781f26; $custom-light: #a56260; $custom-dark: #000000;
JSON
{
"hex": "#781f26",
"rgb": {
"r": 120,
"g": 31,
"b": 38
},
"hsl": {
"h": 355.281,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.38622,
"c": 0.12251,
"h": 20.9
},
"luminance": 0.05113
}Semantic roles & 50–950 ramp
primary
#781F26
secondary
#47ABA4
accent
#E2D646
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79