#7B1417#7B1417
#7B1417 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.137 H 25.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1417 |
|---|---|
| RGB | rgb(123, 20, 23) |
| HSL | hsl(358, 72%, 28%) |
| HSV | hsv(358, 84%, 48%) |
| CMYK | cmyk(0%, 83.7%, 81.3%, 51.8%) |
| CIE-LAB | lab(26.08, 42.85, 27.07) |
| CIE-LCH | lch(26.08, 50.69, 32.28°) |
| OKLab | oklab(37.94% 0.1236 0.0592) |
| OKLCH | oklch(37.94% 0.137 25.6) |
| XYZ | xyz(8.5742, 4.7745, 1.2806) |
| Luminance | 0.0477 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.94
Blood
#770001
ΔE00 4.06
Reddy Brown
#6E1005
ΔE00 4.49
Maroon
#800000
ΔE00 4.74
Burgundy
#800020
ΔE00 4.87
Rosewood
#65000B
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1417 #147B78
analogous
#7B144B #7B1417 #7B4414
triadic
#7B1417 #177B14 #14177B
tetradic
#7B1417 #4B7B14 #147B78 #44147B
square
#7B1417 #4B7B14 #147B78 #44147B
split-complementary
#7B1417 #147B44 #144B7B
monochromatic
#1A0405 #460B0D #7B1417 #B01D21 #DD2D32
Accessibility & contrast
On white
10.74
#7B1417 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#7B1417 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1417
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1417 | 1.00 | 10.74 | 1.95 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#4E4612
Tritanopia (blue-blind)
#880017
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #7b1417; /* rgb */ color: rgb(123, 20, 23); /* oklch */ color: oklch(37.9% 0.137 25.6);
Tailwind
colors: {
custom: {
50: '#a95d54',
500: '#7b1417',
950: '#000000',
},
}SCSS
$custom: #7b1417; $custom-light: #a95d54; $custom-dark: #000000;
JSON
{
"hex": "#7b1417",
"rgb": {
"r": 123,
"g": 20,
"b": 23
},
"hsl": {
"h": 358.252,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.37937,
"c": 0.13703,
"h": 25.6
},
"luminance": 0.04773
}Semantic roles & 50–950 ramp
primary
#7B1417
secondary
#3AB1AD
accent
#EFE939
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#110502
muted
#807978