#A62F7E#A62F7E
#A62F7E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.175 H 344.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A62F7E |
|---|---|
| RGB | rgb(166, 47, 126) |
| HSL | hsl(320, 56%, 42%) |
| HSV | hsv(320, 72%, 65%) |
| CMYK | cmyk(0%, 71.7%, 24.1%, 34.9%) |
| CIE-LAB | lab(40.65, 55.71, -17.70) |
| CIE-LCH | lch(40.65, 58.45, 342.37°) |
| OKLab | oklab(51.15% 0.1681 -0.0472) |
| OKLCH | oklch(51.15% 0.175 344.3) |
| XYZ | xyz(20.5091, 11.6485, 20.9029) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.67
Mediumvioletred
#C71585
ΔE00 5.82
Red Violet
#9E0168
ΔE00 5.85
Warm Purple
#952E8F
ΔE00 6.40
Light Eggplant
#894585
ΔE00 7.18
Ugly Purple
#A442A0
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A62F7E #2FA657
analogous
#932FA6 #A62F7E #A62F43
triadic
#A62F7E #7EA62F #2F7EA6
tetradic
#A62F7E #A6932F #2FA657 #2F43A6
square
#A62F7E #A6932F #2FA657 #2F43A6
split-complementary
#A62F7E #43A62F #2FA693
monochromatic
#471436 #76215A #A62F7E #CB479F #D877B8
Accessibility & contrast
On white
6.31
#A62F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#A62F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A62F7E
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A62F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A62F7E | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#B12E52
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a62f7e; /* rgb */ color: rgb(166, 47, 126); /* oklch */ color: oklch(51.1% 0.175 344.3);
Tailwind
colors: {
custom: {
50: '#c472a3',
500: '#a62f7e',
950: '#000000',
},
}SCSS
$custom: #a62f7e; $custom-light: #c472a3; $custom-dark: #000000;
JSON
{
"hex": "#a62f7e",
"rgb": {
"r": 166,
"g": 47,
"b": 126
},
"hsl": {
"h": 320.168,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.51146,
"c": 0.17461,
"h": 344.3
},
"luminance": 0.11646
}Semantic roles & 50–950 ramp
primary
#A62F7E
secondary
#70C18B
accent
#DF7B49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F