#781F27#781F27
#781F27 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.122 H 20.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #781F27 |
|---|---|
| RGB | rgb(120, 31, 39) |
| HSL | hsl(355, 59%, 30%) |
| HSV | hsv(355, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 67.5%, 52.9%) |
| CIE-LAB | lab(27.08, 38.82, 17.77) |
| CIE-LCH | lch(27.08, 42.69, 24.60°) |
| OKLab | oklab(38.64% 0.1149 0.0423) |
| OKLCH | oklch(38.64% 0.122 20.2) |
| XYZ | xyz(8.6028, 5.1208, 2.4545) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.50
Burgundy
#800020
ΔE00 3.53
Claret
#680018
ΔE00 5.17
Wine
#722F37
ΔE00 5.20
Bordeaux
#7B002C
ΔE00 5.93
Rosewood
#65000B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F27 #1F7870
analogous
#781F54 #781F27 #78441F
triadic
#781F27 #27781F #1F2778
tetradic
#781F27 #54781F #1F7870 #441F78
square
#781F27 #54781F #1F7870 #441F78
split-complementary
#781F27 #1F7844 #1F5478
monochromatic
#180608 #471217 #781F27 #A92C37 #CE4350
Accessibility & contrast
On white
10.38
#781F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#781F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F27
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F27 | 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)
#373427
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#840323
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781f27; /* rgb */ color: rgb(120, 31, 39); /* oklch */ color: oklch(38.6% 0.122 20.2);
Tailwind
colors: {
custom: {
50: '#a56261',
500: '#781f27',
950: '#000000',
},
}SCSS
$custom: #781f27; $custom-light: #a56261; $custom-dark: #000000;
JSON
{
"hex": "#781f27",
"rgb": {
"r": 120,
"g": 31,
"b": 39
},
"hsl": {
"h": 354.607,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.38641,
"c": 0.12244,
"h": 20.2
},
"luminance": 0.0512
}Semantic roles & 50–950 ramp
primary
#781F27
secondary
#47ABA2
accent
#E2D446
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79