#C642A6#C642A6
#C642A6 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 338.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A6 |
|---|---|
| RGB | rgb(198, 66, 166) |
| HSL | hsl(315, 54%, 52%) |
| HSV | hsv(315, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 16.2%, 22.4%) |
| CIE-LAB | lab(50.28, 62.56, -26.50) |
| CIE-LCH | lch(50.28, 67.94, 337.04°) |
| OKLab | oklab(59.75% 0.1852 -0.0716) |
| OKLCH | oklch(59.75% 0.199 338.9) |
| XYZ | xyz(32.1205, 18.6583, 37.9787) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.63
Pinky Purple
#C94CBE
ΔE00 4.62
Purplish Pink
#CE5DAE
ΔE00 6.16
Ugly Purple
#A442A0
ΔE00 7.05
Purpleish Pink
#DF4EC8
ΔE00 7.45
Mediumvioletred
#C71585
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A6 #42C662
analogous
#A442C6 #C642A6 #C64264
triadic
#C642A6 #A6C642 #42A6C6
tetradic
#C642A6 #C6A442 #42C662 #4264C6
square
#C642A6 #C6A442 #42C662 #4264C6
split-complementary
#C642A6 #64C642 #42C6A4
monochromatic
#6D215A #9C2F81 #C642A6 #D471BC #E2A0D2
Accessibility & contrast
On white
4.44
#C642A6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#C642A6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A6
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A6 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#727FA3
Tritanopia (blue-blind)
#D1476E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c642a6; /* rgb */ color: rgb(198, 66, 166); /* oklch */ color: oklch(59.8% 0.199 338.9);
Tailwind
colors: {
custom: {
50: '#db80c0',
500: '#c642a6',
950: '#000000',
},
}SCSS
$custom: #c642a6; $custom-light: #db80c0; $custom-dark: #000000;
JSON
{
"hex": "#c642a6",
"rgb": {
"r": 198,
"g": 66,
"b": 166
},
"hsl": {
"h": 314.545,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59753,
"c": 0.19856,
"h": 338.9
},
"luminance": 0.18655
}Semantic roles & 50–950 ramp
primary
#C642A6
secondary
#95CFA3
accent
#DD6E4B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81