#7E173F#7E173F
#7E173F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 3.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E173F |
|---|---|
| RGB | rgb(126, 23, 63) |
| HSL | hsl(337, 69%, 29%) |
| HSV | hsv(337, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 50%, 50.6%) |
| CIE-LAB | lab(27.87, 45.44, 2.94) |
| CIE-LCH | lch(27.87, 45.53, 3.70°) |
| OKLab | oklab(39.64% 0.1393 0.008) |
| OKLCH | oklch(39.64% 0.14 3.3) |
| XYZ | xyz(9.8086, 5.4086, 5.2291) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.13
Red Purple
#820747
ΔE00 3.30
Merlot
#730039
ΔE00 3.56
Mulberry
#920A4E
ΔE00 4.60
Purple Red
#990147
ΔE00 5.05
Reddish Purple
#910951
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E173F #177E56
analogous
#7E1773 #7E173F #7E2317
triadic
#7E173F #3F7E17 #173F7E
tetradic
#7E173F #737E17 #177E56 #23177E
square
#7E173F #737E17 #177E56 #23177E
split-complementary
#7E173F #177E23 #17737E
monochromatic
#1A050D #4A0E25 #7E173F #B22059 #DA3575
Accessibility & contrast
On white
10.09
#7E173F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E173F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E173F
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E173F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E173F | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313540
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#8A0029
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e173f; /* rgb */ color: rgb(126, 23, 63); /* oklch */ color: oklch(39.6% 0.140 3.3);
Tailwind
colors: {
custom: {
50: '#a96073',
500: '#7e173f',
950: '#000000',
},
}SCSS
$custom: #7e173f; $custom-light: #a96073; $custom-dark: #000000;
JSON
{
"hex": "#7e173f",
"rgb": {
"r": 126,
"g": 23,
"b": 63
},
"hsl": {
"h": 336.699,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39639,
"c": 0.13953,
"h": 3.3
},
"luminance": 0.05407
}Semantic roles & 50–950 ramp
primary
#7E173F
secondary
#3EB385
accent
#ECA83C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B