#7F1523#7F1523
#7F1523 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 20.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1523 |
|---|---|
| RGB | rgb(127, 21, 35) |
| HSL | hsl(352, 72%, 29%) |
| HSV | hsv(352, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 72.4%, 50.2%) |
| CIE-LAB | lab(27.22, 44.33, 20.90) |
| CIE-LCH | lch(27.22, 49.01, 25.25°) |
| OKLab | oklab(38.98% 0.1306 0.0484) |
| OKLCH | oklch(38.98% 0.139 20.3) |
| XYZ | xyz(9.3250, 5.1712, 2.0969) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.89
Wine Red
#7B0323
ΔE00 2.88
Claret
#680018
ΔE00 5.28
Bordeaux
#7B002C
ΔE00 6.06
Crimson (survey)
#8C000F
ΔE00 6.55
Red Wine
#8C0034
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1523 #157F71
analogous
#7F1558 #7F1523 #7F3C15
triadic
#7F1523 #237F15 #15237F
tetradic
#7F1523 #587F15 #157F71 #3C157F
square
#7F1523 #587F15 #157F71 #3C157F
split-complementary
#7F1523 #157F3C #15587F
monochromatic
#1A0407 #4A0C15 #7F1523 #B41E31 #DD3148
Accessibility & contrast
On white
10.32
#7F1523 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1523 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1523
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1523 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1523 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1523; /* rgb */ color: rgb(127, 21, 35); /* oklch */ color: oklch(39.0% 0.139 20.3);
Tailwind
colors: {
custom: {
50: '#ac5f5d',
500: '#7f1523',
950: '#000000',
},
}SCSS
$custom: #7f1523; $custom-light: #ac5f5d; $custom-dark: #000000;
JSON
{
"hex": "#7f1523",
"rgb": {
"r": 127,
"g": 21,
"b": 35
},
"hsl": {
"h": 352.075,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.38984,
"c": 0.13926,
"h": 20.3
},
"luminance": 0.0517
}Semantic roles & 50–950 ramp
primary
#7F1523
secondary
#3CB4A4
accent
#EED639
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979