#7F1627#7F1627
#7F1627 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 18.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1627 |
|---|---|
| RGB | rgb(127, 22, 39) |
| HSL | hsl(350, 70%, 29%) |
| HSV | hsv(350, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 69.3%, 50.2%) |
| CIE-LAB | lab(27.39, 44.25, 18.47) |
| CIE-LCH | lch(27.39, 47.95, 22.66°) |
| OKLab | oklab(39.14% 0.1313 0.0436) |
| OKLCH | oklch(39.14% 0.138 18.4) |
| XYZ | xyz(9.4066, 5.2338, 2.4340) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.06
Wine Red
#7B0323
ΔE00 2.18
Bordeaux
#7B002C
ΔE00 4.83
Claret
#680018
ΔE00 5.32
Red Wine
#8C0034
ΔE00 5.35
Wine
#722F37
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1627 #167F6E
analogous
#7F165C #7F1627 #7F3A16
triadic
#7F1627 #277F16 #16277F
tetradic
#7F1627 #5C7F16 #167F6E #3A167F
square
#7F1627 #5C7F16 #167F6E #3A167F
split-complementary
#7F1627 #167F3A #165C7F
monochromatic
#1A0508 #4B0D17 #7F1627 #B31F37 #DC344F
Accessibility & contrast
On white
10.26
#7F1627 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1627 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1627
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1627 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1627 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1627; /* rgb */ color: rgb(127, 22, 39); /* oklch */ color: oklch(39.1% 0.138 18.4);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1627',
950: '#000000',
},
}SCSS
$custom: #7f1627; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1627",
"rgb": {
"r": 127,
"g": 22,
"b": 39
},
"hsl": {
"h": 350.286,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.39135,
"c": 0.13833,
"h": 18.4
},
"luminance": 0.05232
}Semantic roles & 50–950 ramp
primary
#7F1627
secondary
#3DB4A1
accent
#EDD03B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979