#7F281B#7F281B
#7F281B is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.123 H 31.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F281B |
|---|---|
| RGB | rgb(127, 40, 27) |
| HSL | hsl(8, 65%, 30%) |
| HSV | hsv(8, 79%, 50%) |
| CMYK | cmyk(0%, 68.5%, 78.7%, 50.2%) |
| CIE-LAB | lab(29.69, 36.80, 28.74) |
| CIE-LCH | lch(29.69, 46.70, 37.98°) |
| OKLab | oklab(40.79% 0.105 0.0637) |
| OKLCH | oklch(40.79% 0.123 31.3) |
| XYZ | xyz(9.7101, 6.1102, 1.7048) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.10
Indian Red
#850E04
ΔE00 4.52
Crimson (survey)
#8C000F
ΔE00 5.11
Dark Red
#840000
ΔE00 5.28
Maroon
#800000
ΔE00 5.29
Reddy Brown
#6E1005
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F281B #1B727F
analogous
#7F1B40 #7F281B #7F5A1B
triadic
#7F281B #1B7F28 #281B7F
tetradic
#7F281B #407F1B #1B727F #5A1B7F
square
#7F281B #407F1B #1B727F #5A1B7F
split-complementary
#7F281B #1B7F5A #1B407F
monochromatic
#1A0806 #4D1810 #7F281B #B13826 #D6523E
Accessibility & contrast
On white
9.45
#7F281B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F281B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F281B
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F281B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F281B | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#8C0F26
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f281b; /* rgb */ color: rgb(127, 40, 27); /* oklch */ color: oklch(40.8% 0.123 31.3);
Tailwind
colors: {
custom: {
50: '#ab6758',
500: '#7f281b',
950: '#000000',
},
}SCSS
$custom: #7f281b; $custom-light: #ab6758; $custom-dark: #000000;
JSON
{
"hex": "#7f281b",
"rgb": {
"r": 127,
"g": 40,
"b": 27
},
"hsl": {
"h": 7.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.40792,
"c": 0.12279,
"h": 31.3
},
"luminance": 0.06109
}Semantic roles & 50–950 ramp
primary
#7F281B
secondary
#43A4B3
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78