#782227#782227
#782227 is a dark, moderate red. Relative luminance 0.053; OKLCH L 39.0% C 0.119 H 21.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #782227 |
|---|---|
| RGB | rgb(120, 34, 39) |
| HSL | hsl(357, 56%, 30%) |
| HSV | hsv(357, 72%, 47%) |
| CMYK | cmyk(0%, 71.7%, 67.5%, 52.9%) |
| CIE-LAB | lab(27.53, 37.57, 18.35) |
| CIE-LCH | lch(27.53, 41.81, 26.03°) |
| OKLab | oklab(38.98% 0.1109 0.0436) |
| OKLCH | oklch(38.98% 0.119 21.5) |
| XYZ | xyz(8.6849, 5.2848, 2.4818) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.08
Wine Red
#7B0323
ΔE00 4.26
Wine
#722F37
ΔE00 5.24
Claret
#680018
ΔE00 5.67
Bordeaux
#7B002C
ΔE00 6.74
Rosewood
#65000B
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782227 #227873
analogous
#782252 #782227 #784822
triadic
#782227 #277822 #222778
tetradic
#782227 #527822 #227873 #482278
square
#782227 #527822 #227873 #482278
split-complementary
#782227 #227848 #225278
monochromatic
#190708 #481418 #782227 #A83036 #CB4951
Accessibility & contrast
On white
10.21
#782227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#782227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782227
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782227 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#840A25
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #782227; /* rgb */ color: rgb(120, 34, 39); /* oklch */ color: oklch(39.0% 0.119 21.5);
Tailwind
colors: {
custom: {
50: '#a56361',
500: '#782227',
950: '#000000',
},
}SCSS
$custom: #782227; $custom-light: #a56361; $custom-dark: #000000;
JSON
{
"hex": "#782227",
"rgb": {
"r": 120,
"g": 34,
"b": 39
},
"hsl": {
"h": 356.512,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.38981,
"c": 0.11919,
"h": 21.5
},
"luminance": 0.05284
}Semantic roles & 50–950 ramp
primary
#782227
secondary
#4BABA5
accent
#DFD649
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79