#7F1522#7F1522
#7F1522 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 20.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1522 |
|---|---|
| RGB | rgb(127, 21, 34) |
| HSL | hsl(353, 72%, 29%) |
| HSV | hsv(353, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 73.2%, 50.2%) |
| CIE-LAB | lab(27.20, 44.28, 21.54) |
| CIE-LCH | lch(27.20, 49.24, 25.94°) |
| OKLab | oklab(38.97% 0.1302 0.0497) |
| OKLCH | oklch(38.97% 0.139 20.9) |
| XYZ | xyz(9.3104, 5.1653, 2.0198) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.05
Wine Red
#7B0323
ΔE00 3.17
Claret
#680018
ΔE00 5.34
Crimson (survey)
#8C000F
ΔE00 6.21
Bordeaux
#7B002C
ΔE00 6.41
Rosewood
#65000B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1522 #157F72
analogous
#7F1557 #7F1522 #7F3D15
triadic
#7F1522 #227F15 #15227F
tetradic
#7F1522 #577F15 #157F72 #3D157F
square
#7F1522 #577F15 #157F72 #3D157F
split-complementary
#7F1522 #157F3D #15577F
monochromatic
#1A0407 #4A0C14 #7F1522 #B41E30 #DD3146
Accessibility & contrast
On white
10.33
#7F1522 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1522 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1522
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1522 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1522 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1522; /* rgb */ color: rgb(127, 21, 34); /* oklch */ color: oklch(39.0% 0.139 20.9);
Tailwind
colors: {
custom: {
50: '#ac5f5d',
500: '#7f1522',
950: '#000000',
},
}SCSS
$custom: #7f1522; $custom-light: #ac5f5d; $custom-dark: #000000;
JSON
{
"hex": "#7f1522",
"rgb": {
"r": 127,
"g": 21,
"b": 34
},
"hsl": {
"h": 352.642,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38967,
"c": 0.13932,
"h": 20.9
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#7F1522
secondary
#3CB4A5
accent
#EED839
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979