#A62F7D#A62F7D
#A62F7D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 344.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A62F7D |
|---|---|
| RGB | rgb(166, 47, 125) |
| HSL | hsl(321, 56%, 42%) |
| HSV | hsv(321, 72%, 65%) |
| CMYK | cmyk(0%, 71.7%, 24.7%, 34.9%) |
| CIE-LAB | lab(40.61, 55.57, -17.15) |
| CIE-LCH | lch(40.61, 58.16, 342.85°) |
| OKLab | oklab(51.1% 0.1679 -0.0456) |
| OKLCH | oklch(51.1% 0.174 344.8) |
| XYZ | xyz(20.4449, 11.6228, 20.5648) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 5.56
Red Violet
#9E0168
ΔE00 5.75
Mediumvioletred
#C71585
ΔE00 5.79
Warm Purple
#952E8F
ΔE00 6.60
Light Eggplant
#894585
ΔE00 7.29
Deep Magenta
#A0025C
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A62F7D #2FA658
analogous
#942FA6 #A62F7D #A62F42
triadic
#A62F7D #7DA62F #2F7DA6
tetradic
#A62F7D #A6942F #2FA658 #2F42A6
square
#A62F7D #A6942F #2FA658 #2F42A6
split-complementary
#A62F7D #42A62F #2FA694
monochromatic
#471435 #762159 #A62F7D #CB479E #D877B7
Accessibility & contrast
On white
6.32
#A62F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#A62F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A62F7D
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A62F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A62F7D | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D537F
Deuteranopia (green-blind)
#60677A
Tritanopia (blue-blind)
#B12E52
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a62f7d; /* rgb */ color: rgb(166, 47, 125); /* oklch */ color: oklch(51.1% 0.174 344.8);
Tailwind
colors: {
custom: {
50: '#c472a2',
500: '#a62f7d',
950: '#000000',
},
}SCSS
$custom: #a62f7d; $custom-light: #c472a2; $custom-dark: #000000;
JSON
{
"hex": "#a62f7d",
"rgb": {
"r": 166,
"g": 47,
"b": 125
},
"hsl": {
"h": 320.672,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.51102,
"c": 0.174,
"h": 344.8
},
"luminance": 0.11621
}Semantic roles & 50–950 ramp
primary
#A62F7D
secondary
#70C18C
accent
#DF7C49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F