#7F2028#7F2028
#7F2028 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 20.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2028 |
|---|---|
| RGB | rgb(127, 32, 40) |
| HSL | hsl(355, 60%, 31%) |
| HSV | hsv(355, 75%, 50%) |
| CMYK | cmyk(0%, 74.8%, 68.5%, 50.2%) |
| CIE-LAB | lab(28.64, 40.86, 19.38) |
| CIE-LCH | lch(28.64, 45.22, 25.38°) |
| OKLab | oklab(40.07% 0.1206 0.0458) |
| OKLCH | oklch(40.07% 0.129 20.8) |
| XYZ | xyz(9.6529, 5.6997, 2.5989) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.41
Wine Red
#7B0323
ΔE00 3.96
Wine
#722F37
ΔE00 5.89
Claret
#680018
ΔE00 6.27
Bordeaux
#7B002C
ΔE00 6.53
Red Wine
#8C0034
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2028 #207F77
analogous
#7F2057 #7F2028 #7F4720
triadic
#7F2028 #287F20 #20287F
tetradic
#7F2028 #577F20 #207F77 #47207F
square
#7F2028 #577F20 #207F77 #47207F
split-complementary
#7F2028 #207F47 #20577F
monochromatic
#1D0709 #4E1419 #7F2028 #B02C37 #D14854
Accessibility & contrast
On white
9.81
#7F2028 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7F2028 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2028
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2028 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2028 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f2028; /* rgb */ color: rgb(127, 32, 40); /* oklch */ color: oklch(40.1% 0.129 20.8);
Tailwind
colors: {
custom: {
50: '#ab6361',
500: '#7f2028',
950: '#000000',
},
}SCSS
$custom: #7f2028; $custom-light: #ab6361; $custom-dark: #000000;
JSON
{
"hex": "#7f2028",
"rgb": {
"r": 127,
"g": 32,
"b": 40
},
"hsl": {
"h": 354.947,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.4007,
"c": 0.12904,
"h": 20.8
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#7F2028
secondary
#49B2A9
accent
#E3D645
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79