#7F1628#7F1628
#7F1628 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 17.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1628 |
|---|---|
| RGB | rgb(127, 22, 40) |
| HSL | hsl(350, 70%, 29%) |
| HSV | hsv(350, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.41, 44.31, 17.83) |
| CIE-LCH | lch(27.41, 47.76, 21.92°) |
| OKLab | oklab(39.16% 0.1317 0.0423) |
| OKLCH | oklch(39.16% 0.138 17.8) |
| XYZ | xyz(9.4234, 5.2405, 2.5224) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.08
Burgundy
#800020
ΔE00 2.23
Bordeaux
#7B002C
ΔE00 4.50
Red Wine
#8C0034
ΔE00 5.02
Claret
#680018
ΔE00 5.38
Wine
#722F37
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1628 #167F6D
analogous
#7F165D #7F1628 #7F3916
triadic
#7F1628 #287F16 #16287F
tetradic
#7F1628 #5D7F16 #167F6D #39167F
square
#7F1628 #5D7F16 #167F6D #39167F
split-complementary
#7F1628 #167F39 #165D7F
monochromatic
#1A0508 #4B0D18 #7F1628 #B31F38 #DC3450
Accessibility & contrast
On white
10.25
#7F1628 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1628 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1628
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1628 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1628; /* rgb */ color: rgb(127, 22, 40); /* oklch */ color: oklch(39.2% 0.138 17.8);
Tailwind
colors: {
custom: {
50: '#ab5f61',
500: '#7f1628',
950: '#000000',
},
}SCSS
$custom: #7f1628; $custom-light: #ab5f61; $custom-dark: #000000;
JSON
{
"hex": "#7f1628",
"rgb": {
"r": 127,
"g": 22,
"b": 40
},
"hsl": {
"h": 349.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39155,
"c": 0.13831,
"h": 17.8
},
"luminance": 0.05239
}Semantic roles & 50–950 ramp
primary
#7F1628
secondary
#3DB49F
accent
#EDCF3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979