#7F281C#7F281C
#7F281C is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.123 H 30.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7F281C |
|---|---|
| RGB | rgb(127, 40, 28) |
| HSL | hsl(7, 64%, 30%) |
| HSV | hsv(7, 78%, 50%) |
| CMYK | cmyk(0%, 68.5%, 78%, 50.2%) |
| CIE-LAB | lab(29.70, 36.85, 28.16) |
| CIE-LCH | lch(29.70, 46.38, 37.39°) |
| OKLab | oklab(40.81% 0.1053 0.0627) |
| OKLCH | oklch(40.81% 0.123 30.8) |
| XYZ | xyz(9.7219, 6.1149, 1.7668) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.36
Indian Red
#850E04
ΔE00 4.70
Crimson (survey)
#8C000F
ΔE00 5.07
Maroon
#800000
ΔE00 5.40
Dark Red
#840000
ΔE00 5.41
Reddy Brown
#6E1005
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F281C #1C737F
analogous
#7F1C41 #7F281C #7F591C
triadic
#7F281C #1C7F28 #281C7F
tetradic
#7F281C #417F1C #1C737F #591C7F
square
#7F281C #417F1C #1C737F #591C7F
split-complementary
#7F281C #1C7F59 #1C417F
monochromatic
#1B0806 #4D1811 #7F281C #B13827 #D55240
Accessibility & contrast
On white
9.45
#7F281C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F281C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F281C
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F281C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F281C | 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)
#413A1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8C0F26
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f281c; /* rgb */ color: rgb(127, 40, 28); /* oklch */ color: oklch(40.8% 0.123 30.8);
Tailwind
colors: {
custom: {
50: '#ab6759',
500: '#7f281c',
950: '#000000',
},
}SCSS
$custom: #7f281c; $custom-light: #ab6759; $custom-dark: #000000;
JSON
{
"hex": "#7f281c",
"rgb": {
"r": 127,
"g": 40,
"b": 28
},
"hsl": {
"h": 7.273,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.40805,
"c": 0.12258,
"h": 30.8
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#7F281C
secondary
#44A5B3
accent
#D3E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78