#7F281F#7F281F
#7F281F is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.122 H 29.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7F281F |
|---|---|
| RGB | rgb(127, 40, 31) |
| HSL | hsl(6, 61%, 31%) |
| HSV | hsv(6, 76%, 50%) |
| CMYK | cmyk(0%, 68.5%, 75.6%, 50.2%) |
| CIE-LAB | lab(29.74, 36.99, 26.39) |
| CIE-LCH | lch(29.74, 45.44, 35.51°) |
| OKLab | oklab(40.85% 0.1064 0.0597) |
| OKLCH | oklch(40.85% 0.122 29.3) |
| XYZ | xyz(9.7596, 6.1300, 1.9654) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 5.10
Red Brown
#8B2E16
ΔE00 5.22
Indian Red
#850E04
ΔE00 5.35
Reddy Brown
#6E1005
ΔE00 5.80
Maroon
#800000
ΔE00 5.87
Dark Red
#840000
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F281F #1F767F
analogous
#7F1F46 #7F281F #7F581F
triadic
#7F281F #1F7F28 #281F7F
tetradic
#7F281F #467F1F #1F767F #581F7F
square
#7F281F #467F1F #1F767F #581F7F
split-complementary
#7F281F #1F7F58 #1F467F
monochromatic
#1D0907 #4E1913 #7F281F #B0372B #D25446
Accessibility & contrast
On white
9.43
#7F281F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F281F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F281F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F281F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F281F | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403A1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8C1027
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f281f; /* rgb */ color: rgb(127, 40, 31); /* oklch */ color: oklch(40.8% 0.122 29.3);
Tailwind
colors: {
custom: {
50: '#ab675b',
500: '#7f281f',
950: '#000000',
},
}SCSS
$custom: #7f281f; $custom-light: #ab675b; $custom-dark: #000000;
JSON
{
"hex": "#7f281f",
"rgb": {
"r": 127,
"g": 40,
"b": 31
},
"hsl": {
"h": 5.625,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40845,
"c": 0.12198,
"h": 29.3
},
"luminance": 0.06129
}Semantic roles & 50–950 ramp
primary
#7F281F
secondary
#48A8B2
accent
#D5E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79