#7F112B#7F112B
#7F112B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.142 H 15.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7F112B |
|---|---|
| RGB | rgb(127, 17, 43) |
| HSL | hsl(346, 76%, 28%) |
| HSV | hsv(346, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 66.1%, 50.2%) |
| CIE-LAB | lab(26.99, 45.86, 15.27) |
| CIE-LCH | lch(26.99, 48.33, 18.42°) |
| OKLab | oklab(38.86% 0.1374 0.0368) |
| OKLCH | oklch(38.86% 0.142 15) |
| XYZ | xyz(9.3899, 5.0888, 2.7728) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.03
Bordeaux
#7B002C
ΔE00 2.81
Burgundy
#800020
ΔE00 3.16
Red Wine
#8C0034
ΔE00 3.56
Claret
#680018
ΔE00 5.66
Maroon (survey)
#650021
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F112B #117F65
analogous
#7F1162 #7F112B #7F2E11
triadic
#7F112B #2B7F11 #112B7F
tetradic
#7F112B #627F11 #117F65 #2E117F
square
#7F112B #627F11 #117F65 #2E117F
split-complementary
#7F112B #117F2E #11627F
monochromatic
#1B0409 #490A19 #7F112B #B5183D #E22854
Accessibility & contrast
On white
10.41
#7F112B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7F112B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F112B
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F112B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F112B | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33312B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f112b; /* rgb */ color: rgb(127, 17, 43); /* oklch */ color: oklch(38.9% 0.142 15.0);
Tailwind
colors: {
custom: {
50: '#ab5e64',
500: '#7f112b',
950: '#000000',
},
}SCSS
$custom: #7f112b; $custom-light: #ab5e64; $custom-dark: #000000;
JSON
{
"hex": "#7f112b",
"rgb": {
"r": 127,
"g": 17,
"b": 43
},
"hsl": {
"h": 345.818,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.38862,
"c": 0.1422,
"h": 15
},
"luminance": 0.05087
}Semantic roles & 50–950 ramp
primary
#7F112B
secondary
#37B597
accent
#F3C635
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979