#7F281A#7F281A
#7F281A is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.123 H 31.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F281A |
|---|---|
| RGB | rgb(127, 40, 26) |
| HSL | hsl(8, 66%, 30%) |
| HSV | hsv(8, 80%, 50%) |
| CMYK | cmyk(0%, 68.5%, 79.5%, 50.2%) |
| CIE-LAB | lab(29.68, 36.76, 29.31) |
| CIE-LCH | lch(29.68, 47.02, 38.57°) |
| OKLab | oklab(40.78% 0.1046 0.0647) |
| OKLCH | oklch(40.78% 0.123 31.7) |
| XYZ | xyz(9.6987, 6.1056, 1.6449) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.86
Indian Red
#850E04
ΔE00 4.37
Reddish Brown
#7F2B0A
ΔE00 5.12
Dark Red
#840000
ΔE00 5.17
Crimson (survey)
#8C000F
ΔE00 5.18
Maroon
#800000
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F281A #1A717F
analogous
#7F1A3E #7F281A #7F5B1A
triadic
#7F281A #1A7F28 #281A7F
tetradic
#7F281A #3E7F1A #1A717F #5B1A7F
square
#7F281A #3E7F1A #1A717F #5B1A7F
split-complementary
#7F281A #1A7F5B #1A3E7F
monochromatic
#190805 #4C1810 #7F281A #B23824 #D7523C
Accessibility & contrast
On white
9.46
#7F281A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F281A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F281A
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F281A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F281A | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#8C0F25
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f281a; /* rgb */ color: rgb(127, 40, 26); /* oklch */ color: oklch(40.8% 0.123 31.7);
Tailwind
colors: {
custom: {
50: '#ab6757',
500: '#7f281a',
950: '#000000',
},
}SCSS
$custom: #7f281a; $custom-light: #ab6757; $custom-dark: #000000;
JSON
{
"hex": "#7f281a",
"rgb": {
"r": 127,
"g": 40,
"b": 26
},
"hsl": {
"h": 8.317,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.4078,
"c": 0.123,
"h": 31.7
},
"luminance": 0.06104
}Semantic roles & 50–950 ramp
primary
#7F281A
secondary
#42A3B3
accent
#D1E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78