#78271F#78271F
#78271F is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.5% C 0.115 H 28.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #78271F |
|---|---|
| RGB | rgb(120, 39, 31) |
| HSL | hsl(5, 59%, 30%) |
| HSV | hsv(5, 74%, 47%) |
| CMYK | cmyk(0%, 67.5%, 74.2%, 52.9%) |
| CIE-LAB | lab(28.23, 34.85, 24.32) |
| CIE-LCH | lch(28.23, 42.50, 34.91°) |
| OKLab | oklab(39.47% 0.1006 0.0556) |
| OKLCH | oklch(39.47% 0.115 28.9) |
| XYZ | xyz(8.7195, 5.5443, 1.9071) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.31
Crimson (survey)
#8C000F
ΔE00 5.94
Blood
#770001
ΔE00 5.96
Indian Red
#850E04
ΔE00 6.12
Maroon
#800000
ΔE00 6.30
Red Brown
#8B2E16
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78271F #1F7078
analogous
#781F44 #78271F #78541F
triadic
#78271F #1F7827 #271F78
tetradic
#78271F #44781F #1F7078 #541F78
square
#78271F #44781F #1F7078 #541F78
split-complementary
#78271F #1F7854 #1F4478
monochromatic
#180806 #471712 #78271F #A9372C #CE5043
Accessibility & contrast
On white
9.96
#78271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#78271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78271F
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78271F | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#841226
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #78271f; /* rgb */ color: rgb(120, 39, 31); /* oklch */ color: oklch(39.5% 0.115 28.9);
Tailwind
colors: {
custom: {
50: '#a5665b',
500: '#78271f',
950: '#000000',
},
}SCSS
$custom: #78271f; $custom-light: #a5665b; $custom-dark: #000000;
JSON
{
"hex": "#78271f",
"rgb": {
"r": 120,
"g": 39,
"b": 31
},
"hsl": {
"h": 5.393,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39465,
"c": 0.11489,
"h": 28.9
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#78271F
secondary
#47A2AB
accent
#D4E246
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79