#7A172A#7A172A
#7A172A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.132 H 16.0°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7A172A |
|---|---|
| RGB | rgb(122, 23, 42) |
| HSL | hsl(348, 68%, 28%) |
| HSV | hsv(348, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 65.6%, 52.2%) |
| CIE-LAB | lab(26.50, 42.58, 15.11) |
| CIE-LCH | lch(26.50, 45.18, 19.54°) |
| OKLab | oklab(38.31% 0.1273 0.0365) |
| OKLCH | oklch(38.31% 0.132 16) |
| XYZ | xyz(8.7513, 4.9189, 2.6787) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.12
Burgundy
#800020
ΔE00 3.28
Bordeaux
#7B002C
ΔE00 3.37
Red Wine
#8C0034
ΔE00 4.65
Claret
#680018
ΔE00 5.04
Wine
#722F37
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A172A #177A67
analogous
#7A175B #7A172A #7A3517
triadic
#7A172A #2A7A17 #172A7A
tetradic
#7A172A #5B7A17 #177A67 #35177A
square
#7A172A #5B7A17 #177A67 #35177A
split-complementary
#7A172A #177A35 #175B7A
monochromatic
#1A0509 #470D18 #7A172A #AD213C #D93353
Accessibility & contrast
On white
10.59
#7A172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7A172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A172A
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A172A | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#86001F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7a172a; /* rgb */ color: rgb(122, 23, 42); /* oklch */ color: oklch(38.3% 0.132 16.0);
Tailwind
colors: {
custom: {
50: '#a75f63',
500: '#7a172a',
950: '#000000',
},
}SCSS
$custom: #7a172a; $custom-light: #a75f63; $custom-dark: #000000;
JSON
{
"hex": "#7a172a",
"rgb": {
"r": 122,
"g": 23,
"b": 42
},
"hsl": {
"h": 348.485,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38309,
"c": 0.13244,
"h": 16
},
"luminance": 0.04918
}Semantic roles & 50–950 ramp
primary
#7A172A
secondary
#3EAF99
accent
#EBCA3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979