#7F1A2F#7F1A2F
#7F1A2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.135 H 14.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1A2F |
|---|---|
| RGB | rgb(127, 26, 47) |
| HSL | hsl(348, 66%, 30%) |
| HSV | hsv(348, 80%, 50%) |
| CMYK | cmyk(0%, 79.5%, 63%, 50.2%) |
| CIE-LAB | lab(28.00, 43.49, 13.92) |
| CIE-LCH | lch(28.00, 45.66, 17.75°) |
| OKLab | oklab(39.64% 0.1306 0.034) |
| OKLCH | oklch(39.64% 0.135 14.6) |
| XYZ | xyz(9.6359, 5.4575, 3.2348) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.11
Bordeaux
#7B002C
ΔE00 3.26
Red Wine
#8C0034
ΔE00 3.60
Burgundy
#800020
ΔE00 4.10
Wine
#722F37
ΔE00 5.11
Cranberry
#9E003A
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1A2F #1A7F6A
analogous
#7F1A61 #7F1A2F #7F381A
triadic
#7F1A2F #2F7F1A #1A2F7F
tetradic
#7F1A2F #617F1A #1A7F6A #381A7F
square
#7F1A2F #617F1A #1A7F6A #381A7F
split-complementary
#7F1A2F #1A7F38 #1A617F
monochromatic
#190509 #4C101C #7F1A2F #B22442 #D73C5C
Accessibility & contrast
On white
10.04
#7F1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1A2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1A2F
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1A2F | 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)
#36352F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1a2f; /* rgb */ color: rgb(127, 26, 47); /* oklch */ color: oklch(39.6% 0.135 14.6);
Tailwind
colors: {
custom: {
50: '#aa6167',
500: '#7f1a2f',
950: '#000000',
},
}SCSS
$custom: #7f1a2f; $custom-light: #aa6167; $custom-dark: #000000;
JSON
{
"hex": "#7f1a2f",
"rgb": {
"r": 127,
"g": 26,
"b": 47
},
"hsl": {
"h": 347.525,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.39638,
"c": 0.13491,
"h": 14.6
},
"luminance": 0.05456
}Semantic roles & 50–950 ramp
primary
#7F1A2F
secondary
#42B39B
accent
#E9C63F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A