#782831#782831
#782831 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.112 H 17.2°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #782831 |
|---|---|
| RGB | rgb(120, 40, 49) |
| HSL | hsl(353, 50%, 31%) |
| HSV | hsv(353, 67%, 47%) |
| CMYK | cmyk(0%, 66.7%, 59.2%, 52.9%) |
| CIE-LAB | lab(28.73, 35.60, 13.32) |
| CIE-LCH | lch(28.73, 38.01, 20.51°) |
| OKLab | oklab(39.94% 0.1066 0.0329) |
| OKLCH | oklch(39.94% 0.112 17.2) |
| XYZ | xyz(9.0597, 5.7336, 3.5348) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 2.65
Wine Red
#7B0323
ΔE00 5.03
Burgundy
#800020
ΔE00 5.65
Bordeaux
#7B002C
ΔE00 5.76
Red Wine
#8C0034
ΔE00 6.36
Claret
#680018
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782831 #28786F
analogous
#782859 #782831 #784728
triadic
#782831 #317828 #283178
tetradic
#782831 #597828 #28786F #472878
square
#782831 #597828 #28786F #472878
split-complementary
#782831 #287847 #285978
monochromatic
#1C090C #4A191E #782831 #A63744 #C65461
Accessibility & contrast
On white
9.78
#782831 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#782831 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782831
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782831 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#83192C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #782831; /* rgb */ color: rgb(120, 40, 49); /* oklch */ color: oklch(39.9% 0.112 17.2);
Tailwind
colors: {
custom: {
50: '#a46768',
500: '#782831',
950: '#000000',
},
}SCSS
$custom: #782831; $custom-light: #a46768; $custom-dark: #000000;
JSON
{
"hex": "#782831",
"rgb": {
"r": 120,
"g": 40,
"b": 49
},
"hsl": {
"h": 353.25,
"s": 50,
"l": 31.373
},
"oklch": {
"l": 0.39942,
"c": 0.11157,
"h": 17.2
},
"luminance": 0.05732
}Semantic roles & 50–950 ramp
primary
#782831
secondary
#52AAA0
accent
#DACA4E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A