#78271C#78271C
#78271C is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.4% C 0.116 H 30.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #78271C |
|---|---|
| RGB | rgb(120, 39, 28) |
| HSL | hsl(7, 62%, 29%) |
| HSV | hsv(7, 77%, 47%) |
| CMYK | cmyk(0%, 67.5%, 76.7%, 52.9%) |
| CIE-LAB | lab(28.19, 34.70, 26.12) |
| CIE-LCH | lch(28.19, 43.43, 36.98°) |
| OKLab | oklab(39.42% 0.0994 0.0588) |
| OKLCH | oklch(39.42% 0.116 30.6) |
| XYZ | xyz(8.6818, 5.5292, 1.7085) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 4.79
Indian Red
#850E04
ΔE00 5.42
Blood
#770001
ΔE00 5.54
Red Brown
#8B2E16
ΔE00 5.62
Maroon
#800000
ΔE00 5.74
Crimson (survey)
#8C000F
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78271C #1C6D78
analogous
#781C3F #78271C #78551C
triadic
#78271C #1C7827 #271C78
tetradic
#78271C #3F781C #1C6D78 #551C78
square
#78271C #3F781C #1C6D78 #551C78
split-complementary
#78271C #1C7855 #1C3F78
monochromatic
#190806 #461710 #78271C #AA3728 #D24F3D
Accessibility & contrast
On white
9.97
#78271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#78271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78271C
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78271C | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E371A
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#841225
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #78271c; /* rgb */ color: rgb(120, 39, 28); /* oklch */ color: oklch(39.4% 0.116 30.6);
Tailwind
colors: {
custom: {
50: '#a66659',
500: '#78271c',
950: '#000000',
},
}SCSS
$custom: #78271c; $custom-light: #a66659; $custom-dark: #000000;
JSON
{
"hex": "#78271c",
"rgb": {
"r": 120,
"g": 39,
"b": 28
},
"hsl": {
"h": 7.174,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.39422,
"c": 0.11551,
"h": 30.6
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#78271C
secondary
#44A0AC
accent
#D2E543
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110603
muted
#807A78