#7F1731#7F1731
#7F1731 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.138 H 12.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1731 |
|---|---|
| RGB | rgb(127, 23, 49) |
| HSL | hsl(345, 69%, 29%) |
| HSV | hsv(345, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 61.4%, 50.2%) |
| CIE-LAB | lab(27.70, 44.59, 12.18) |
| CIE-LCH | lch(27.70, 46.22, 15.28°) |
| OKLab | oklab(39.43% 0.1345 0.0301) |
| OKLCH | oklch(39.43% 0.138 12.6) |
| XYZ | xyz(9.6142, 5.3480, 3.4312) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.45
Red Wine
#8C0034
ΔE00 2.89
Wine Red
#7B0323
ΔE00 3.64
Burgundy
#800020
ΔE00 4.89
Wine
#722F37
ΔE00 5.43
Cranberry
#9E003A
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1731 #177F65
analogous
#7F1765 #7F1731 #7F3117
triadic
#7F1731 #317F17 #17317F
tetradic
#7F1731 #657F17 #177F65 #31177F
square
#7F1731 #657F17 #177F65 #31177F
split-complementary
#7F1731 #177F31 #17657F
monochromatic
#1A050A #4B0E1D #7F1731 #B32045 #DB365F
Accessibility & contrast
On white
10.15
#7F1731 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1731 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1731
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1731 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1731; /* rgb */ color: rgb(127, 23, 49); /* oklch */ color: oklch(39.4% 0.138 12.6);
Tailwind
colors: {
custom: {
50: '#aa6068',
500: '#7f1731',
950: '#000000',
},
}SCSS
$custom: #7f1731; $custom-light: #aa6068; $custom-dark: #000000;
JSON
{
"hex": "#7f1731",
"rgb": {
"r": 127,
"g": 23,
"b": 49
},
"hsl": {
"h": 345,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39434,
"c": 0.13782,
"h": 12.6
},
"luminance": 0.05347
}Semantic roles & 50–950 ramp
primary
#7F1731
secondary
#3EB496
accent
#ECC03C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A