#7B1F17#7B1F17
#7B1F17 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.128 H 29.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F17 |
|---|---|
| RGB | rgb(123, 31, 23) |
| HSL | hsl(5, 68%, 29%) |
| HSV | hsv(5, 81%, 48%) |
| CMYK | cmyk(0%, 74.8%, 81.3%, 51.8%) |
| CIE-LAB | lab(27.45, 39.05, 28.50) |
| CIE-LCH | lch(27.45, 48.34, 36.12°) |
| OKLab | oklab(38.95% 0.1116 0.0623) |
| OKLCH | oklch(38.95% 0.128 29.2) |
| XYZ | xyz(8.8141, 5.2541, 1.3605) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 3.90
Blood
#770001
ΔE00 4.06
Indian Red
#850E04
ΔE00 4.14
Maroon
#800000
ΔE00 4.22
Crimson (survey)
#8C000F
ΔE00 4.23
Dark Red
#840000
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F17 #17737B
analogous
#7B1741 #7B1F17 #7B5117
triadic
#7B1F17 #177B1F #1F177B
tetradic
#7B1F17 #417B17 #17737B #51177B
square
#7B1F17 #417B17 #17737B #51177B
split-complementary
#7B1F17 #177B51 #17417B
monochromatic
#1A0605 #47120D #7B1F17 #AF2C21 #D94133
Accessibility & contrast
On white
10.24
#7B1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7B1F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F17
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F17 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#88001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1f17; /* rgb */ color: rgb(123, 31, 23); /* oklch */ color: oklch(39.0% 0.128 29.2);
Tailwind
colors: {
custom: {
50: '#a96255',
500: '#7b1f17',
950: '#000000',
},
}SCSS
$custom: #7b1f17; $custom-light: #a96255; $custom-dark: #000000;
JSON
{
"hex": "#7b1f17",
"rgb": {
"r": 123,
"g": 31,
"b": 23
},
"hsl": {
"h": 4.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38953,
"c": 0.1278,
"h": 29.2
},
"luminance": 0.05253
}Semantic roles & 50–950 ramp
primary
#7B1F17
secondary
#3EA7B0
accent
#DDEB3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78