#7F1726#7F1726
#7F1726 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 19.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1726 |
|---|---|
| RGB | rgb(127, 23, 38) |
| HSL | hsl(351, 69%, 29%) |
| HSV | hsv(351, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 70.1%, 50.2%) |
| CIE-LAB | lab(27.48, 43.89, 19.25) |
| CIE-LCH | lch(27.48, 47.92, 23.68°) |
| OKLab | oklab(39.2% 0.1299 0.0452) |
| OKLCH | oklch(39.2% 0.138 19.2) |
| XYZ | xyz(9.4097, 5.2662, 2.3544) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.05
Wine Red
#7B0323
ΔE00 2.51
Bordeaux
#7B002C
ΔE00 5.34
Claret
#680018
ΔE00 5.36
Red Wine
#8C0034
ΔE00 5.82
Wine
#722F37
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1726 #177F70
analogous
#7F175A #7F1726 #7F3C17
triadic
#7F1726 #267F17 #17267F
tetradic
#7F1726 #5A7F17 #177F70 #3C177F
square
#7F1726 #5A7F17 #177F70 #3C177F
split-complementary
#7F1726 #177F3C #175A7F
monochromatic
#1A0508 #4B0E16 #7F1726 #B32036 #DB364E
Accessibility & contrast
On white
10.23
#7F1726 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1726 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1726
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1726 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1726; /* rgb */ color: rgb(127, 23, 38); /* oklch */ color: oklch(39.2% 0.138 19.2);
Tailwind
colors: {
custom: {
50: '#ab5f60',
500: '#7f1726',
950: '#000000',
},
}SCSS
$custom: #7f1726; $custom-light: #ab5f60; $custom-dark: #000000;
JSON
{
"hex": "#7f1726",
"rgb": {
"r": 127,
"g": 23,
"b": 38
},
"hsl": {
"h": 351.346,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.39196,
"c": 0.13753,
"h": 19.2
},
"luminance": 0.05265
}Semantic roles & 50–950 ramp
primary
#7F1726
secondary
#3EB4A3
accent
#ECD33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979