#C642A5#C642A5
#C642A5 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.198 H 339.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A5 |
|---|---|
| RGB | rgb(198, 66, 165) |
| HSL | hsl(315, 54%, 52%) |
| HSV | hsv(315, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 16.7%, 22.4%) |
| CIE-LAB | lab(50.24, 62.42, -25.98) |
| CIE-LCH | lch(50.24, 67.61, 337.40°) |
| OKLab | oklab(59.71% 0.185 -0.0701) |
| OKLCH | oklch(59.71% 0.198 339.2) |
| XYZ | xyz(32.0292, 18.6217, 37.4975) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.83
Pinky Purple
#C94CBE
ΔE00 4.80
Purplish Pink
#CE5DAE
ΔE00 6.16
Ugly Purple
#A442A0
ΔE00 7.10
Mediumvioletred
#C71585
ΔE00 7.52
Purpleish Pink
#DF4EC8
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A5 #42C663
analogous
#A542C6 #C642A5 #C64263
triadic
#C642A5 #A5C642 #42A5C6
tetradic
#C642A5 #C6A542 #42C663 #4263C6
square
#C642A5 #C6A542 #42C663 #4263C6
split-complementary
#C642A5 #63C642 #42C6A5
monochromatic
#6D215A #9C2F81 #C642A5 #D471BB #E2A0D2
Accessibility & contrast
On white
4.45
#C642A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#C642A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A5 | 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)
#496AA8
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#D1466E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c642a5; /* rgb */ color: rgb(198, 66, 165); /* oklch */ color: oklch(59.7% 0.198 339.2);
Tailwind
colors: {
custom: {
50: '#db80c0',
500: '#c642a5',
950: '#000000',
},
}SCSS
$custom: #c642a5; $custom-light: #db80c0; $custom-dark: #000000;
JSON
{
"hex": "#c642a5",
"rgb": {
"r": 198,
"g": 66,
"b": 165
},
"hsl": {
"h": 315,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59707,
"c": 0.19788,
"h": 339.2
},
"luminance": 0.18619
}Semantic roles & 50–950 ramp
primary
#C642A5
secondary
#95CFA3
accent
#DD6F4B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81