#7A172C#7A172C
#7A172C is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.133 H 14.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7A172C |
|---|---|
| RGB | rgb(122, 23, 44) |
| HSL | hsl(347, 68%, 28%) |
| HSV | hsv(347, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 63.9%, 52.2%) |
| CIE-LAB | lab(26.54, 42.71, 13.82) |
| CIE-LCH | lch(26.54, 44.89, 17.93°) |
| OKLab | oklab(38.35% 0.1282 0.0337) |
| OKLCH | oklch(38.35% 0.133 14.7) |
| XYZ | xyz(8.7880, 4.9335, 2.8719) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.54
Bordeaux
#7B002C
ΔE00 2.81
Burgundy
#800020
ΔE00 3.89
Red Wine
#8C0034
ΔE00 4.19
Wine
#722F37
ΔE00 5.17
Maroon (survey)
#650021
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A172C #177A65
analogous
#7A175D #7A172C #7A3317
triadic
#7A172C #2C7A17 #172C7A
tetradic
#7A172C #5D7A17 #177A65 #33177A
square
#7A172C #5D7A17 #177A65 #33177A
split-complementary
#7A172C #177A33 #175D7A
monochromatic
#1A0509 #470D19 #7A172C #AD213F #D93356
Accessibility & contrast
On white
10.57
#7A172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7A172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A172C
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A172C | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33322C
Deuteranopia (green-blind)
#4C4629
Tritanopia (blue-blind)
#860020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7a172c; /* rgb */ color: rgb(122, 23, 44); /* oklch */ color: oklch(38.4% 0.133 14.7);
Tailwind
colors: {
custom: {
50: '#a75f64',
500: '#7a172c',
950: '#000000',
},
}SCSS
$custom: #7a172c; $custom-light: #a75f64; $custom-dark: #000000;
JSON
{
"hex": "#7a172c",
"rgb": {
"r": 122,
"g": 23,
"b": 44
},
"hsl": {
"h": 347.273,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38354,
"c": 0.13251,
"h": 14.7
},
"luminance": 0.04932
}Semantic roles & 50–950 ramp
primary
#7A172C
secondary
#3EAF97
accent
#EBC63D
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110505
muted
#80797A