#7B1F27#7B1F27
#7B1F27 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.126 H 20.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F27 |
|---|---|
| RGB | rgb(123, 31, 39) |
| HSL | hsl(355, 60%, 30%) |
| HSV | hsv(355, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 68.3%, 51.8%) |
| CIE-LAB | lab(27.68, 39.84, 18.66) |
| CIE-LCH | lch(27.68, 43.99, 25.10°) |
| OKLab | oklab(39.2% 0.1177 0.0442) |
| OKLCH | oklch(39.2% 0.126 20.6) |
| XYZ | xyz(9.0255, 5.3387, 2.4743) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.33
Wine Red
#7B0323
ΔE00 3.60
Claret
#680018
ΔE00 5.56
Wine
#722F37
ΔE00 5.57
Bordeaux
#7B002C
ΔE00 6.19
Red Wine
#8C0034
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F27 #1F7B73
analogous
#7B1F55 #7B1F27 #7B451F
triadic
#7B1F27 #277B1F #1F277B
tetradic
#7B1F27 #557B1F #1F7B73 #451F7B
square
#7B1F27 #557B1F #1F7B73 #451F7B
split-complementary
#7B1F27 #1F7B45 #1F557B
monochromatic
#190608 #4A1318 #7B1F27 #AC2B36 #D04451
Accessibility & contrast
On white
10.16
#7B1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7B1F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F27
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F27 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#870123
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1f27; /* rgb */ color: rgb(123, 31, 39); /* oklch */ color: oklch(39.2% 0.126 20.6);
Tailwind
colors: {
custom: {
50: '#a86261',
500: '#7b1f27',
950: '#000000',
},
}SCSS
$custom: #7b1f27; $custom-light: #a86261; $custom-dark: #000000;
JSON
{
"hex": "#7b1f27",
"rgb": {
"r": 123,
"g": 31,
"b": 39
},
"hsl": {
"h": 354.783,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.392,
"c": 0.12577,
"h": 20.6
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#7B1F27
secondary
#48AEA5
accent
#E3D545
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79