#7F5271#7F5271
#7F5271 is a mid, moderate pink. Relative luminance 0.117; OKLCH L 49.9% C 0.074 H 339.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5271 |
|---|---|
| RGB | rgb(127, 82, 113) |
| HSL | hsl(319, 22%, 41%) |
| HSV | hsv(319, 35%, 50%) |
| CMYK | cmyk(0%, 35.4%, 11%, 50.2%) |
| CIE-LAB | lab(40.80, 23.87, -9.99) |
| CIE-LCH | lch(40.80, 25.88, 337.28°) |
| OKLab | oklab(49.91% 0.0693 -0.0266) |
| OKLCH | oklch(49.91% 0.074 339) |
| XYZ | xyz(14.7503, 11.7396, 17.1086) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Purple
#84597E
ΔE00 3.33
Dusky Purple
#895B7B
ΔE00 3.45
Dirty Purple
#734A65
ΔE00 3.59
Dark Mauve
#874C62
ΔE00 5.55
Muted Purple
#805B87
ΔE00 5.94
Dusty Purple
#825F87
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5271 #527F60
analogous
#76527F #7F5271 #7F525A
triadic
#7F5271 #717F52 #52717F
tetradic
#7F5271 #7F7652 #527F60 #525A7F
square
#7F5271 #7F7652 #527F60 #525A7F
split-complementary
#7F5271 #5A7F52 #527F76
monochromatic
#35222F #5A3A50 #7F5271 #A16D91 #B992AD
Accessibility & contrast
On white
6.27
#7F5271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7F5271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F5271
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F5271 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535C72
Deuteranopia (green-blind)
#5E6370
Tritanopia (blue-blind)
#84535D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f5271; /* rgb */ color: rgb(127, 82, 113); /* oklch */ color: oklch(49.9% 0.074 339.0);
Tailwind
colors: {
custom: {
50: '#a58399',
500: '#7f5271',
950: '#000000',
},
}SCSS
$custom: #7f5271; $custom-light: #a58399; $custom-dark: #000000;
JSON
{
"hex": "#7f5271",
"rgb": {
"r": 127,
"g": 82,
"b": 113
},
"hsl": {
"h": 318.667,
"s": 21.531,
"l": 40.98
},
"oklch": {
"l": 0.49905,
"c": 0.07422,
"h": 339
},
"luminance": 0.11739
}Semantic roles & 50–950 ramp
primary
#7F5271
secondary
#87A690
accent
#BE846A
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E