#7F1A22#7F1A22
#7F1A22 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 22.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A22 |
|---|---|
| RGB | rgb(127, 26, 34) |
| HSL | hsl(355, 66%, 30%) |
| HSV | hsv(355, 80%, 50%) |
| CMYK | cmyk(0%, 79.5%, 73.2%, 50.2%) |
| CIE-LAB | lab(27.76, 42.71, 22.21) |
| CIE-LCH | lch(27.76, 48.14, 27.47°) |
| OKLab | oklab(39.38% 0.1252 0.0511) |
| OKLCH | oklch(39.38% 0.135 22.2) |
| XYZ | xyz(9.4116, 5.3678, 2.0536) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.99
Wine Red
#7B0323
ΔE00 4.10
Crimson (survey)
#8C000F
ΔE00 5.73
Claret
#680018
ΔE00 5.90
Rosewood
#65000B
ΔE00 6.49
Blood
#770001
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A22 #1A7F77
analogous
#7F1A54 #7F1A22 #7F451A
triadic
#7F1A22 #227F1A #1A227F
tetradic
#7F1A22 #547F1A #1A7F77 #451A7F
square
#7F1A22 #547F1A #1A7F77 #451A7F
split-complementary
#7F1A22 #1A7F45 #1A547F
monochromatic
#190507 #4C1014 #7F1A22 #B22430 #D73C49
Accessibility & contrast
On white
10.13
#7F1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1A22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A22
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A22 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383421
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1a22; /* rgb */ color: rgb(127, 26, 34); /* oklch */ color: oklch(39.4% 0.135 22.2);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7f1a22',
950: '#000000',
},
}SCSS
$custom: #7f1a22; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7f1a22",
"rgb": {
"r": 127,
"g": 26,
"b": 34
},
"hsl": {
"h": 355.248,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.3938,
"c": 0.1352,
"h": 22.2
},
"luminance": 0.05366
}Semantic roles & 50–950 ramp
primary
#7F1A22
secondary
#42B3AA
accent
#E9DB3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79