#C642A7#C642A7
#C642A7 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 338.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A7 |
|---|---|
| RGB | rgb(198, 66, 167) |
| HSL | hsl(314, 54%, 52%) |
| HSV | hsv(314, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 15.7%, 22.4%) |
| CIE-LAB | lab(50.33, 62.71, -27.02) |
| CIE-LCH | lch(50.33, 68.28, 336.69°) |
| OKLab | oklab(59.8% 0.1853 -0.0731) |
| OKLCH | oklch(59.8% 0.199 338.5) |
| XYZ | xyz(32.2126, 18.6951, 38.4637) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.44
Pinky Purple
#C94CBE
ΔE00 4.45
Purplish Pink
#CE5DAE
ΔE00 6.16
Ugly Purple
#A442A0
ΔE00 7.01
Purpleish Pink
#DF4EC8
ΔE00 7.34
Mediumvioletred
#C71585
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A7 #42C661
analogous
#A342C6 #C642A7 #C64265
triadic
#C642A7 #A7C642 #42A7C6
tetradic
#C642A7 #C6A342 #42C661 #4265C6
square
#C642A7 #C6A342 #42C661 #4265C6
split-complementary
#C642A7 #65C642 #42C6A3
monochromatic
#6D215B #9C2F82 #C642A7 #D471BD #E2A0D3
Accessibility & contrast
On white
4.43
#C642A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#C642A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A7
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A7 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486BAA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D1476F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c642a7; /* rgb */ color: rgb(198, 66, 167); /* oklch */ color: oklch(59.8% 0.199 338.5);
Tailwind
colors: {
custom: {
50: '#db80c1',
500: '#c642a7',
950: '#000000',
},
}SCSS
$custom: #c642a7; $custom-light: #db80c1; $custom-dark: #000000;
JSON
{
"hex": "#c642a7",
"rgb": {
"r": 198,
"g": 66,
"b": 167
},
"hsl": {
"h": 314.091,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59799,
"c": 0.19924,
"h": 338.5
},
"luminance": 0.18692
}Semantic roles & 50–950 ramp
primary
#C642A7
secondary
#95CFA3
accent
#DD6D4B
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81