#7B1F22#7B1F22
#7B1F22 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.126 H 23.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F22 |
|---|---|
| RGB | rgb(123, 31, 34) |
| HSL | hsl(358, 60%, 30%) |
| HSV | hsv(358, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 72.4%, 51.8%) |
| CIE-LAB | lab(27.59, 39.55, 21.82) |
| CIE-LCH | lch(27.59, 45.17, 28.88°) |
| OKLab | oklab(39.11% 0.1157 0.0505) |
| OKLCH | oklch(39.11% 0.126 23.6) |
| XYZ | xyz(8.9481, 5.3078, 2.0664) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.00
Wine Red
#7B0323
ΔE00 4.86
Crimson (survey)
#8C000F
ΔE00 5.96
Claret
#680018
ΔE00 6.01
Rosewood
#65000B
ΔE00 6.23
Reddy Brown
#6E1005
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F22 #1F7B78
analogous
#7B1F50 #7B1F22 #7B4A1F
triadic
#7B1F22 #227B1F #1F227B
tetradic
#7B1F22 #507B1F #1F7B78 #4A1F7B
square
#7B1F22 #507B1F #1F7B78 #4A1F7B
split-complementary
#7B1F22 #1F7B4A #1F507B
monochromatic
#190607 #4A1314 #7B1F22 #AC2B30 #D04449
Accessibility & contrast
On white
10.19
#7B1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7B1F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F22
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F22 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393521
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1f22; /* rgb */ color: rgb(123, 31, 34); /* oklch */ color: oklch(39.1% 0.126 23.6);
Tailwind
colors: {
custom: {
50: '#a8625d',
500: '#7b1f22',
950: '#000000',
},
}SCSS
$custom: #7b1f22; $custom-light: #a8625d; $custom-dark: #000000;
JSON
{
"hex": "#7b1f22",
"rgb": {
"r": 123,
"g": 31,
"b": 34
},
"hsl": {
"h": 358.043,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.3911,
"c": 0.12621,
"h": 23.6
},
"luminance": 0.05306
}Semantic roles & 50–950 ramp
primary
#7B1F22
secondary
#48AEAB
accent
#E3DE45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79