#7B171B#7B171B
#7B171B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.134 H 24.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B171B |
|---|---|
| RGB | rgb(123, 23, 27) |
| HSL | hsl(358, 68%, 29%) |
| HSV | hsv(358, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 78%, 51.8%) |
| CIE-LAB | lab(26.46, 42.09, 24.98) |
| CIE-LCH | lch(26.46, 48.94, 30.69°) |
| OKLab | oklab(38.23% 0.1221 0.0559) |
| OKLCH | oklch(38.23% 0.134 24.6) |
| XYZ | xyz(8.6736, 4.9043, 1.5266) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.11
Crimson (survey)
#8C000F
ΔE00 4.64
Blood
#770001
ΔE00 5.10
Rosewood
#65000B
ΔE00 5.21
Wine Red
#7B0323
ΔE00 5.34
Reddy Brown
#6E1005
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B171B #177B77
analogous
#7B174D #7B171B #7B4517
triadic
#7B171B #1B7B17 #171B7B
tetradic
#7B171B #4D7B17 #177B77 #45177B
square
#7B171B #4D7B17 #177B77 #45177B
split-complementary
#7B171B #177B45 #174D7B
monochromatic
#1A0506 #470D10 #7B171B #AF2126 #D9333A
Accessibility & contrast
On white
10.60
#7B171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7B171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B171B
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B171B | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b171b; /* rgb */ color: rgb(123, 23, 27); /* oklch */ color: oklch(38.2% 0.134 24.6);
Tailwind
colors: {
custom: {
50: '#a95e57',
500: '#7b171b',
950: '#000000',
},
}SCSS
$custom: #7b171b; $custom-light: #a95e57; $custom-dark: #000000;
JSON
{
"hex": "#7b171b",
"rgb": {
"r": 123,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38234,
"c": 0.13426,
"h": 24.6
},
"luminance": 0.04903
}Semantic roles & 50–950 ramp
primary
#7B171B
secondary
#3EB0AB
accent
#EBE43C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978