#7E5170#7E5170
#7E5170 is a mid, moderate pink. Relative luminance 0.115; OKLCH L 49.6% C 0.074 H 339.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5170 |
|---|---|
| RGB | rgb(126, 81, 112) |
| HSL | hsl(319, 22%, 41%) |
| HSV | hsv(319, 36%, 49%) |
| CMYK | cmyk(0%, 35.7%, 11.1%, 50.6%) |
| CIE-LAB | lab(40.40, 23.90, -10.00) |
| CIE-LCH | lch(40.40, 25.91, 337.30°) |
| OKLab | oklab(49.56% 0.0694 -0.0266) |
| OKLCH | oklch(49.56% 0.074 339) |
| XYZ | xyz(14.4712, 11.4911, 16.7818) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dirty Purple
#734A65
ΔE00 3.26
Dull Purple
#84597E
ΔE00 3.61
Dusky Purple
#895B7B
ΔE00 3.80
Dark Mauve
#874C62
ΔE00 5.51
Bruise
#7E4071
ΔE00 5.99
Muted Purple
#805B87
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5170 #517E5F
analogous
#75517E #7E5170 #7E5159
triadic
#7E5170 #707E51 #51707E
tetradic
#7E5170 #7E7551 #517E5F #51597E
square
#7E5170 #7E7551 #517E5F #51597E
split-complementary
#7E5170 #597E51 #517E75
monochromatic
#33212E #59394F #7E5170 #A06C90 #B891AC
Accessibility & contrast
On white
6.37
#7E5170 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7E5170 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5170
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5170 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525B71
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#83525C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7e5170; /* rgb */ color: rgb(126, 81, 112); /* oklch */ color: oklch(49.6% 0.074 339.0);
Tailwind
colors: {
custom: {
50: '#a48299',
500: '#7e5170',
950: '#000000',
},
}SCSS
$custom: #7e5170; $custom-light: #a48299; $custom-dark: #000000;
JSON
{
"hex": "#7e5170",
"rgb": {
"r": 126,
"g": 81,
"b": 112
},
"hsl": {
"h": 318.667,
"s": 21.739,
"l": 40.588
},
"oklch": {
"l": 0.49559,
"c": 0.07433,
"h": 339
},
"luminance": 0.1149
}Semantic roles & 50–950 ramp
primary
#7E5170
secondary
#85A58F
accent
#BE846A
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0D
muted
#7F7C7E