#7B1F2D#7B1F2D
#7B1F2D is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.126 H 16.7°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F2D |
|---|---|
| RGB | rgb(123, 31, 45) |
| HSL | hsl(351, 60%, 30%) |
| HSV | hsv(351, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 63.4%, 51.8%) |
| CIE-LAB | lab(27.80, 40.24, 14.84) |
| CIE-LCH | lch(27.80, 42.89, 20.24°) |
| OKLab | oklab(39.32% 0.1203 0.0361) |
| OKLCH | oklch(39.32% 0.126 16.7) |
| XYZ | xyz(9.1329, 5.3817, 3.0400) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.23
Burgundy
#800020
ΔE00 3.97
Wine
#722F37
ΔE00 4.36
Bordeaux
#7B002C
ΔE00 4.36
Red Wine
#8C0034
ΔE00 5.08
Claret
#680018
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F2D #1F7B6D
analogous
#7B1F5B #7B1F2D #7B3F1F
triadic
#7B1F2D #2D7B1F #1F2D7B
tetradic
#7B1F2D #5B7B1F #1F7B6D #3F1F7B
square
#7B1F2D #5B7B1F #1F7B6D #3F1F7B
split-complementary
#7B1F2D #1F7B3F #1F5B7B
monochromatic
#190609 #4A131B #7B1F2D #AC2B3F #D0445A
Accessibility & contrast
On white
10.12
#7B1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7B1F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F2D
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F2D | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38352D
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#870425
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7b1f2d; /* rgb */ color: rgb(123, 31, 45); /* oklch */ color: oklch(39.3% 0.126 16.7);
Tailwind
colors: {
custom: {
50: '#a76265',
500: '#7b1f2d',
950: '#000000',
},
}SCSS
$custom: #7b1f2d; $custom-light: #a76265; $custom-dark: #000000;
JSON
{
"hex": "#7b1f2d",
"rgb": {
"r": 123,
"g": 31,
"b": 45
},
"hsl": {
"h": 350.87,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.39325,
"c": 0.12558,
"h": 16.7
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#7B1F2D
secondary
#48AE9F
accent
#E3CB45
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110505
muted
#807A7A