#7B173A#7B173A
#7B173A is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 5.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7B173A |
|---|---|
| RGB | rgb(123, 23, 58) |
| HSL | hsl(339, 68%, 29%) |
| HSV | hsv(339, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 52.8%, 51.8%) |
| CIE-LAB | lab(27.10, 44.11, 5.14) |
| CIE-LCH | lch(27.10, 44.41, 6.64°) |
| OKLab | oklab(38.92% 0.1348 0.0134) |
| OKLCH | oklch(38.92% 0.135 5.7) |
| XYZ | xyz(9.2393, 5.1305, 4.5059) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.07
Merlot
#730039
ΔE00 3.86
Bordeaux
#7B002C
ΔE00 3.93
Red Wine
#8C0034
ΔE00 4.54
Red Purple
#820747
ΔE00 4.62
Purple Red
#990147
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B173A #177B58
analogous
#7B176C #7B173A #7B2617
triadic
#7B173A #3A7B17 #173A7B
tetradic
#7B173A #6C7B17 #177B58 #26177B
square
#7B173A #6C7B17 #177B58 #26177B
split-complementary
#7B173A #177B26 #176C7B
monochromatic
#1A050C #470D22 #7B173A #AF2152 #D9336D
Accessibility & contrast
On white
10.37
#7B173A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7B173A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B173A
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B173A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B173A | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31333B
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#870026
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7b173a; /* rgb */ color: rgb(123, 23, 58); /* oklch */ color: oklch(38.9% 0.135 5.7);
Tailwind
colors: {
custom: {
50: '#a75f6f',
500: '#7b173a',
950: '#000000',
},
}SCSS
$custom: #7b173a; $custom-light: #a75f6f; $custom-dark: #000000;
JSON
{
"hex": "#7b173a",
"rgb": {
"r": 123,
"g": 23,
"b": 58
},
"hsl": {
"h": 339,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38917,
"c": 0.13548,
"h": 5.7
},
"luminance": 0.05129
}Semantic roles & 50–950 ramp
primary
#7B173A
secondary
#3EB088
accent
#EBAE3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A