#C642A3#C642A3
#C642A3 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.6% C 0.197 H 340.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A3 |
|---|---|
| RGB | rgb(198, 66, 163) |
| HSL | hsl(316, 54%, 52%) |
| HSV | hsv(316, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 17.7%, 22.4%) |
| CIE-LAB | lab(50.16, 62.13, -24.93) |
| CIE-LCH | lch(50.16, 66.95, 338.14°) |
| OKLab | oklab(59.62% 0.1847 -0.0672) |
| OKLCH | oklch(59.62% 0.197 340) |
| XYZ | xyz(31.8485, 18.5495, 36.5463) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.22
Pinky Purple
#C94CBE
ΔE00 5.16
Purplish Pink
#CE5DAE
ΔE00 6.18
Ugly Purple
#A442A0
ΔE00 7.21
Mediumvioletred
#C71585
ΔE00 7.24
Purpleish Pink
#DF4EC8
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A3 #42C665
analogous
#A742C6 #C642A3 #C64261
triadic
#C642A3 #A3C642 #42A3C6
tetradic
#C642A3 #C6A742 #42C665 #4261C6
square
#C642A3 #C6A742 #42C665 #4261C6
split-complementary
#C642A3 #61C642 #42C6A7
monochromatic
#6D2159 #9C2F7F #C642A3 #D471BA #E2A0D1
Accessibility & contrast
On white
4.46
#C642A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#C642A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A3
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A3 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#737FA0
Tritanopia (blue-blind)
#D1466D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c642a3; /* rgb */ color: rgb(198, 66, 163); /* oklch */ color: oklch(59.6% 0.197 340.0);
Tailwind
colors: {
custom: {
50: '#db80be',
500: '#c642a3',
950: '#000000',
},
}SCSS
$custom: #c642a3; $custom-light: #db80be; $custom-dark: #000000;
JSON
{
"hex": "#c642a3",
"rgb": {
"r": 198,
"g": 66,
"b": 163
},
"hsl": {
"h": 315.909,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59617,
"c": 0.19654,
"h": 340
},
"luminance": 0.18547
}Semantic roles & 50–950 ramp
primary
#C642A3
secondary
#95CFA4
accent
#DD724B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81