#7A172B#7A172B
#7A172B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.132 H 15.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7A172B |
|---|---|
| RGB | rgb(122, 23, 43) |
| HSL | hsl(348, 68%, 28%) |
| HSV | hsv(348, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 64.8%, 52.2%) |
| CIE-LAB | lab(26.52, 42.64, 14.47) |
| CIE-LCH | lch(26.52, 45.03, 18.74°) |
| OKLab | oklab(38.33% 0.1277 0.0351) |
| OKLCH | oklch(38.33% 0.132 15.4) |
| XYZ | xyz(8.7694, 4.9261, 2.7741) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.31
Bordeaux
#7B002C
ΔE00 3.08
Burgundy
#800020
ΔE00 3.58
Red Wine
#8C0034
ΔE00 4.41
Claret
#680018
ΔE00 5.22
Wine
#722F37
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A172B #177A66
analogous
#7A175C #7A172B #7A3417
triadic
#7A172B #2B7A17 #172B7A
tetradic
#7A172B #5C7A17 #177A66 #34177A
square
#7A172B #5C7A17 #177A66 #34177A
split-complementary
#7A172B #177A34 #175C7A
monochromatic
#1A0509 #470D19 #7A172B #AD213D #D93354
Accessibility & contrast
On white
10.58
#7A172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7A172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A172B
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A172B | 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)
#33322B
Deuteranopia (green-blind)
#4D4628
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7a172b; /* rgb */ color: rgb(122, 23, 43); /* oklch */ color: oklch(38.3% 0.132 15.4);
Tailwind
colors: {
custom: {
50: '#a75f64',
500: '#7a172b',
950: '#000000',
},
}SCSS
$custom: #7a172b; $custom-light: #a75f64; $custom-dark: #000000;
JSON
{
"hex": "#7a172b",
"rgb": {
"r": 122,
"g": 23,
"b": 43
},
"hsl": {
"h": 347.879,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38331,
"c": 0.13247,
"h": 15.4
},
"luminance": 0.04925
}Semantic roles & 50–950 ramp
primary
#7A172B
secondary
#3EAF98
accent
#EBC83D
background
#FBF5F5
surface
#F5EAEA
border
#CFC6C6
text
#110505
muted
#807979