#C642A4#C642A4
#C642A4 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.197 H 339.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A4 |
|---|---|
| RGB | rgb(198, 66, 164) |
| HSL | hsl(315, 54%, 52%) |
| HSV | hsv(315, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 17.2%, 22.4%) |
| CIE-LAB | lab(50.20, 62.27, -25.45) |
| CIE-LCH | lch(50.20, 67.27, 337.77°) |
| OKLab | oklab(59.66% 0.1849 -0.0687) |
| OKLCH | oklch(59.66% 0.197 339.6) |
| XYZ | xyz(31.9385, 18.5855, 37.0200) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.02
Pinky Purple
#C94CBE
ΔE00 4.98
Purplish Pink
#CE5DAE
ΔE00 6.17
Ugly Purple
#A442A0
ΔE00 7.15
Mediumvioletred
#C71585
ΔE00 7.38
Purpleish Pink
#DF4EC8
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A4 #42C664
analogous
#A642C6 #C642A4 #C64262
triadic
#C642A4 #A4C642 #42A4C6
tetradic
#C642A4 #C6A642 #42C664 #4262C6
square
#C642A4 #C6A642 #42C664 #4262C6
split-complementary
#C642A4 #62C642 #42C6A6
monochromatic
#6D2159 #9C2F80 #C642A4 #D471BB #E2A0D1
Accessibility & contrast
On white
4.45
#C642A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#C642A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A4
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A4 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#727FA1
Tritanopia (blue-blind)
#D1466D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c642a4; /* rgb */ color: rgb(198, 66, 164); /* oklch */ color: oklch(59.7% 0.197 339.6);
Tailwind
colors: {
custom: {
50: '#db80bf',
500: '#c642a4',
950: '#000000',
},
}SCSS
$custom: #c642a4; $custom-light: #db80bf; $custom-dark: #000000;
JSON
{
"hex": "#c642a4",
"rgb": {
"r": 198,
"g": 66,
"b": 164
},
"hsl": {
"h": 315.455,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59662,
"c": 0.19721,
"h": 339.6
},
"luminance": 0.18583
}Semantic roles & 50–950 ramp
primary
#C642A4
secondary
#95CFA4
accent
#DD704B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81