#7B1817#7B1817
#7B1817 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 26.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1817 |
|---|---|
| RGB | rgb(123, 24, 23) |
| HSL | hsl(1, 68%, 29%) |
| HSV | hsv(1, 81%, 48%) |
| CMYK | cmyk(0%, 80.5%, 81.3%, 51.8%) |
| CIE-LAB | lab(26.53, 41.60, 27.54) |
| CIE-LCH | lch(26.53, 49.89, 33.50°) |
| OKLab | oklab(38.27% 0.1196 0.0602) |
| OKLCH | oklch(38.27% 0.134 26.7) |
| XYZ | xyz(8.6507, 4.9275, 1.3060) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.86
Blood
#770001
ΔE00 3.89
Reddy Brown
#6E1005
ΔE00 4.15
Maroon
#800000
ΔE00 4.42
Dark Red
#840000
ΔE00 4.79
Indian Red
#850E04
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1817 #177A7B
analogous
#7B1748 #7B1817 #7B4A17
triadic
#7B1817 #177B18 #18177B
tetradic
#7B1817 #487B17 #177A7B #4A177B
square
#7B1817 #487B17 #177A7B #4A177B
split-complementary
#7B1817 #177B4A #17487B
monochromatic
#1A0505 #470E0D #7B1817 #AF2221 #D93533
Accessibility & contrast
On white
10.58
#7B1817 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7B1817 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1817
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1817 | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373116
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b1817; /* rgb */ color: rgb(123, 24, 23); /* oklch */ color: oklch(38.3% 0.134 26.7);
Tailwind
colors: {
custom: {
50: '#a95f54',
500: '#7b1817',
950: '#000000',
},
}SCSS
$custom: #7b1817; $custom-light: #a95f54; $custom-dark: #000000;
JSON
{
"hex": "#7b1817",
"rgb": {
"r": 123,
"g": 24,
"b": 23
},
"hsl": {
"h": 0.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38268,
"c": 0.13393,
"h": 26.7
},
"luminance": 0.04926
}Semantic roles & 50–950 ramp
primary
#7B1817
secondary
#3EAFB0
accent
#EAEB3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978