#782828#782828
#782828 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.112 H 23.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #782828 |
|---|---|
| RGB | rgb(120, 40, 40) |
| HSL | hsl(0, 50%, 31%) |
| HSV | hsv(0, 67%, 47%) |
| CMYK | cmyk(0%, 66.7%, 66.7%, 52.9%) |
| CIE-LAB | lab(28.55, 34.92, 18.98) |
| CIE-LCH | lch(28.55, 39.74, 28.53°) |
| OKLab | oklab(39.75% 0.1027 0.0452) |
| OKLCH | oklch(39.75% 0.112 23.7) |
| XYZ | xyz(8.8884, 5.6651, 2.6325) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.40
Burgundy
#800020
ΔE00 5.45
Wine Red
#7B0323
ΔE00 5.83
Claret
#680018
ΔE00 6.90
Rosewood
#65000B
ΔE00 7.42
Crimson (survey)
#8C000F
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782828 #287878
analogous
#782850 #782828 #785028
triadic
#782828 #287828 #282878
tetradic
#782828 #507828 #287878 #502878
square
#782828 #507828 #287878 #502878
split-complementary
#782828 #287850 #285078
monochromatic
#1C0909 #4A1919 #782828 #A63737 #C65454
Accessibility & contrast
On white
9.85
#782828 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#782828 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782828
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782828 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#514A26
Tritanopia (blue-blind)
#841629
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #782828; /* rgb */ color: rgb(120, 40, 40); /* oklch */ color: oklch(39.8% 0.112 23.7);
Tailwind
colors: {
custom: {
50: '#a56662',
500: '#782828',
950: '#000000',
},
}SCSS
$custom: #782828; $custom-light: #a56662; $custom-dark: #000000;
JSON
{
"hex": "#782828",
"rgb": {
"r": 120,
"g": 40,
"b": 40
},
"hsl": {
"h": 0,
"s": 50,
"l": 31.373
},
"oklch": {
"l": 0.3975,
"c": 0.11223,
"h": 23.7
},
"luminance": 0.05664
}Semantic roles & 50–950 ramp
primary
#782828
secondary
#52AAAA
accent
#DADA4E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79