#7F1F33#7F1F33
#7F1F33 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 13.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1F33 |
|---|---|
| RGB | rgb(127, 31, 51) |
| HSL | hsl(348, 61%, 31%) |
| HSV | hsv(348, 76%, 50%) |
| CMYK | cmyk(0%, 75.6%, 59.8%, 50.2%) |
| CIE-LAB | lab(28.73, 42.00, 12.22) |
| CIE-LCH | lch(28.73, 43.74, 16.23°) |
| OKLab | oklab(40.21% 0.1265 0.0303) |
| OKLCH | oklch(40.21% 0.13 13.5) |
| XYZ | xyz(9.8409, 5.7324, 3.7196) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.62
Red Wine
#8C0034
ΔE00 3.66
Wine Red
#7B0323
ΔE00 4.18
Wine
#722F37
ΔE00 4.47
Burgundy
#800020
ΔE00 5.18
Cranberry
#9E003A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1F33 #1F7F6B
analogous
#7F1F63 #7F1F33 #7F3B1F
triadic
#7F1F33 #337F1F #1F337F
tetradic
#7F1F33 #637F1F #1F7F6B #3B1F7F
square
#7F1F33 #637F1F #1F7F6B #3B1F7F
split-complementary
#7F1F33 #1F7F3B #1F637F
monochromatic
#1D070B #4E131F #7F1F33 #B02B47 #D24664
Accessibility & contrast
On white
9.78
#7F1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7F1F33 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1F33
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1F33 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#8B0327
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1f33; /* rgb */ color: rgb(127, 31, 51); /* oklch */ color: oklch(40.2% 0.130 13.5);
Tailwind
colors: {
custom: {
50: '#aa636a',
500: '#7f1f33',
950: '#000000',
},
}SCSS
$custom: #7f1f33; $custom-light: #aa636a; $custom-dark: #000000;
JSON
{
"hex": "#7f1f33",
"rgb": {
"r": 127,
"g": 31,
"b": 51
},
"hsl": {
"h": 347.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.40206,
"c": 0.13009,
"h": 13.5
},
"luminance": 0.05731
}Semantic roles & 50–950 ramp
primary
#7F1F33
secondary
#48B29C
accent
#E4C344
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A