#7F1B2A#7F1B2A
#7F1B2A is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.134 H 18.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1B2A |
|---|---|
| RGB | rgb(127, 27, 42) |
| HSL | hsl(351, 65%, 30%) |
| HSV | hsv(351, 79%, 50%) |
| CMYK | cmyk(0%, 78.7%, 66.9%, 50.2%) |
| CIE-LAB | lab(28.02, 42.82, 17.28) |
| CIE-LCH | lch(28.02, 46.17, 21.98°) |
| OKLab | oklab(39.62% 0.1274 0.0413) |
| OKLCH | oklch(39.62% 0.134 18) |
| XYZ | xyz(9.5633, 5.4645, 2.7412) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.71
Burgundy
#800020
ΔE00 2.86
Bordeaux
#7B002C
ΔE00 4.79
Red Wine
#8C0034
ΔE00 5.15
Wine
#722F37
ΔE00 5.56
Claret
#680018
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1B2A #1B7F70
analogous
#7F1B5C #7F1B2A #7F3E1B
triadic
#7F1B2A #2A7F1B #1B2A7F
tetradic
#7F1B2A #5C7F1B #1B7F70 #3E1B7F
square
#7F1B2A #5C7F1B #1B7F70 #3E1B7F
split-complementary
#7F1B2A #1B7F3E #1B5C7F
monochromatic
#1A0609 #4D1019 #7F1B2A #B1263B #D63E55
Accessibility & contrast
On white
10.04
#7F1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1B2A
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1B2A | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1b2a; /* rgb */ color: rgb(127, 27, 42); /* oklch */ color: oklch(39.6% 0.134 18.0);
Tailwind
colors: {
custom: {
50: '#ab6163',
500: '#7f1b2a',
950: '#000000',
},
}SCSS
$custom: #7f1b2a; $custom-light: #ab6163; $custom-dark: #000000;
JSON
{
"hex": "#7f1b2a",
"rgb": {
"r": 127,
"g": 27,
"b": 42
},
"hsl": {
"h": 351,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.39619,
"c": 0.13388,
"h": 18
},
"luminance": 0.05463
}Semantic roles & 50–950 ramp
primary
#7F1B2A
secondary
#43B3A2
accent
#E8CF40
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79