#7F142A#7F142A
#7F142A is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.140 H 16.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F142A |
|---|---|
| RGB | rgb(127, 20, 42) |
| HSL | hsl(348, 73%, 29%) |
| HSV | hsv(348, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 66.9%, 50.2%) |
| CIE-LAB | lab(27.24, 45.00, 16.28) |
| CIE-LCH | lch(27.24, 47.86, 19.89°) |
| OKLab | oklab(39.05% 0.1344 0.039) |
| OKLCH | oklch(39.05% 0.14 16.2) |
| XYZ | xyz(9.4215, 5.1810, 2.6940) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.93
Burgundy
#800020
ΔE00 2.73
Bordeaux
#7B002C
ΔE00 3.54
Red Wine
#8C0034
ΔE00 4.14
Claret
#680018
ΔE00 5.52
Wine
#722F37
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F142A #147F69
analogous
#7F1460 #7F142A #7F3414
triadic
#7F142A #2A7F14 #142A7F
tetradic
#7F142A #607F14 #147F69 #34147F
square
#7F142A #607F14 #147F69 #34147F
split-complementary
#7F142A #147F34 #14607F
monochromatic
#1A0409 #4A0C19 #7F142A #B41C3B #DE2F53
Accessibility & contrast
On white
10.31
#7F142A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F142A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F142A
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F142A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F142A | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f142a; /* rgb */ color: rgb(127, 20, 42); /* oklch */ color: oklch(39.0% 0.140 16.2);
Tailwind
colors: {
custom: {
50: '#ab5e63',
500: '#7f142a',
950: '#000000',
},
}SCSS
$custom: #7f142a; $custom-light: #ab5e63; $custom-dark: #000000;
JSON
{
"hex": "#7f142a",
"rgb": {
"r": 127,
"g": 20,
"b": 42
},
"hsl": {
"h": 347.664,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.39046,
"c": 0.13993,
"h": 16.2
},
"luminance": 0.0518
}Semantic roles & 50–950 ramp
primary
#7F142A
secondary
#3BB49B
accent
#EFCA38
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979