#781F28#781F28
#781F28 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.122 H 19.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #781F28 |
|---|---|
| RGB | rgb(120, 31, 40) |
| HSL | hsl(354, 59%, 30%) |
| HSV | hsv(354, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 66.7%, 52.9%) |
| CIE-LAB | lab(27.09, 38.89, 17.13) |
| CIE-LCH | lch(27.09, 42.49, 23.78°) |
| OKLab | oklab(38.66% 0.1153 0.041) |
| OKLCH | oklch(38.66% 0.122 19.6) |
| XYZ | xyz(8.6196, 5.1275, 2.5429) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.36
Burgundy
#800020
ΔE00 3.56
Wine
#722F37
ΔE00 4.95
Claret
#680018
ΔE00 5.18
Bordeaux
#7B002C
ΔE00 5.60
Red Wine
#8C0034
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F28 #1F786F
analogous
#781F54 #781F28 #78431F
triadic
#781F28 #28781F #1F2878
tetradic
#781F28 #54781F #1F786F #431F78
square
#781F28 #54781F #1F786F #431F78
split-complementary
#781F28 #1F7843 #1F5478
monochromatic
#180608 #471218 #781F28 #A92C38 #CE4351
Accessibility & contrast
On white
10.37
#781F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#781F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F28
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F28 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#840423
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781f28; /* rgb */ color: rgb(120, 31, 40); /* oklch */ color: oklch(38.7% 0.122 19.6);
Tailwind
colors: {
custom: {
50: '#a56261',
500: '#781f28',
950: '#000000',
},
}SCSS
$custom: #781f28; $custom-light: #a56261; $custom-dark: #000000;
JSON
{
"hex": "#781f28",
"rgb": {
"r": 120,
"g": 31,
"b": 40
},
"hsl": {
"h": 353.933,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.38661,
"c": 0.12239,
"h": 19.6
},
"luminance": 0.05126
}Semantic roles & 50–950 ramp
primary
#781F28
secondary
#47ABA1
accent
#E2D246
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79