#7F1728#7F1728
#7F1728 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 18.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1728 |
|---|---|
| RGB | rgb(127, 23, 40) |
| HSL | hsl(350, 69%, 29%) |
| HSV | hsv(350, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 68.5%, 50.2%) |
| CIE-LAB | lab(27.52, 44.00, 17.97) |
| CIE-LCH | lch(27.52, 47.53, 22.21°) |
| OKLab | oklab(39.23% 0.1307 0.0426) |
| OKLCH | oklch(39.23% 0.137 18.1) |
| XYZ | xyz(9.4428, 5.2795, 2.5289) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.22
Burgundy
#800020
ΔE00 2.27
Bordeaux
#7B002C
ΔE00 4.67
Red Wine
#8C0034
ΔE00 5.16
Claret
#680018
ΔE00 5.43
Wine
#722F37
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1728 #177F6E
analogous
#7F175C #7F1728 #7F3A17
triadic
#7F1728 #287F17 #17287F
tetradic
#7F1728 #5C7F17 #177F6E #3A177F
square
#7F1728 #5C7F17 #177F6E #3A177F
split-complementary
#7F1728 #177F3A #175C7F
monochromatic
#1A0508 #4B0E18 #7F1728 #B32038 #DB3651
Accessibility & contrast
On white
10.22
#7F1728 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7F1728 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1728
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1728 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363328
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1728; /* rgb */ color: rgb(127, 23, 40); /* oklch */ color: oklch(39.2% 0.137 18.1);
Tailwind
colors: {
custom: {
50: '#ab5f61',
500: '#7f1728',
950: '#000000',
},
}SCSS
$custom: #7f1728; $custom-light: #ab5f61; $custom-dark: #000000;
JSON
{
"hex": "#7f1728",
"rgb": {
"r": 127,
"g": 23,
"b": 40
},
"hsl": {
"h": 350.192,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39234,
"c": 0.13748,
"h": 18.1
},
"luminance": 0.05278
}Semantic roles & 50–950 ramp
primary
#7F1728
secondary
#3EB4A0
accent
#ECCF3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979