#7A173B#7A173B
#7A173B is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 4.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A173B |
|---|---|
| RGB | rgb(122, 23, 59) |
| HSL | hsl(338, 68%, 28%) |
| HSV | hsv(338, 81%, 48%) |
| CMYK | cmyk(0%, 81.1%, 51.6%, 52.2%) |
| CIE-LAB | lab(26.93, 43.90, 4.18) |
| CIE-LCH | lch(26.93, 44.10, 5.44°) |
| OKLab | oklab(38.76% 0.1344 0.0111) |
| OKLCH | oklch(38.76% 0.135 4.7) |
| XYZ | xyz(9.1227, 5.0674, 4.6346) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.75
Merlot
#730039
ΔE00 3.45
Red Purple
#820747
ΔE00 4.22
Bordeaux
#7B002C
ΔE00 4.36
Red Wine
#8C0034
ΔE00 5.02
Mulberry
#920A4E
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A173B #177A56
analogous
#7A176C #7A173B #7A2417
triadic
#7A173B #3B7A17 #173B7A
tetradic
#7A173B #6C7A17 #177A56 #24177A
square
#7A173B #6C7A17 #177A56 #24177A
split-complementary
#7A173B #177A24 #176C7A
monochromatic
#1A050C #470D22 #7A173B #AD2154 #D9336F
Accessibility & contrast
On white
10.43
#7A173B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7A173B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A173B
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A173B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A173B | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30333C
Deuteranopia (green-blind)
#4A4739
Tritanopia (blue-blind)
#850027
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7a173b; /* rgb */ color: rgb(122, 23, 59); /* oklch */ color: oklch(38.8% 0.135 4.7);
Tailwind
colors: {
custom: {
50: '#a65f70',
500: '#7a173b',
950: '#000000',
},
}SCSS
$custom: #7a173b; $custom-light: #a65f70; $custom-dark: #000000;
JSON
{
"hex": "#7a173b",
"rgb": {
"r": 122,
"g": 23,
"b": 59
},
"hsl": {
"h": 338.182,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.38759,
"c": 0.13481,
"h": 4.7
},
"luminance": 0.05066
}Semantic roles & 50–950 ramp
primary
#7A173B
secondary
#3EAF86
accent
#EBAC3D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A