#7F112A#7F112A
#7F112A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.142 H 15.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7F112A |
|---|---|
| RGB | rgb(127, 17, 42) |
| HSL | hsl(346, 76%, 28%) |
| HSV | hsv(346, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 66.9%, 50.2%) |
| CIE-LAB | lab(26.97, 45.79, 15.92) |
| CIE-LCH | lch(26.97, 48.48, 19.17°) |
| OKLab | oklab(38.84% 0.1369 0.0382) |
| OKLCH | oklch(38.84% 0.142 15.6) |
| XYZ | xyz(9.3718, 5.0816, 2.6774) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.81
Burgundy
#800020
ΔE00 2.82
Bordeaux
#7B002C
ΔE00 3.11
Red Wine
#8C0034
ΔE00 3.84
Claret
#680018
ΔE00 5.49
Maroon (survey)
#650021
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F112A #117F66
analogous
#7F1161 #7F112A #7F2F11
triadic
#7F112A #2A7F11 #112A7F
tetradic
#7F112A #617F11 #117F66 #2F117F
square
#7F112A #617F11 #117F66 #2F117F
split-complementary
#7F112A #117F2F #11617F
monochromatic
#1B0409 #490A18 #7F112A #B5183C #E22852
Accessibility & contrast
On white
10.42
#7F112A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F112A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F112A
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F112A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F112A | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33312A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f112a; /* rgb */ color: rgb(127, 17, 42); /* oklch */ color: oklch(38.8% 0.142 15.6);
Tailwind
colors: {
custom: {
50: '#ab5e63',
500: '#7f112a',
950: '#000000',
},
}SCSS
$custom: #7f112a; $custom-light: #ab5e63; $custom-dark: #000000;
JSON
{
"hex": "#7f112a",
"rgb": {
"r": 127,
"g": 17,
"b": 42
},
"hsl": {
"h": 346.364,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.3884,
"c": 0.14216,
"h": 15.6
},
"luminance": 0.0508
}Semantic roles & 50–950 ramp
primary
#7F112A
secondary
#37B598
accent
#F3C835
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979