#C642A2#C642A2
#C642A2 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.6% C 0.196 H 340.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #C642A2 |
|---|---|
| RGB | rgb(198, 66, 162) |
| HSL | hsl(316, 54%, 52%) |
| HSV | hsv(316, 67%, 78%) |
| CMYK | cmyk(0%, 66.7%, 18.2%, 22.4%) |
| CIE-LAB | lab(50.11, 61.99, -24.41) |
| CIE-LCH | lch(50.11, 66.62, 338.51°) |
| OKLab | oklab(59.57% 0.1845 -0.0657) |
| OKLCH | oklch(59.57% 0.196 340.4) |
| XYZ | xyz(31.7593, 18.5138, 36.0763) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.42
Pinky Purple
#C94CBE
ΔE00 5.34
Purplish Pink
#CE5DAE
ΔE00 6.20
Mediumvioletred
#C71585
ΔE00 7.10
Ugly Purple
#A442A0
ΔE00 7.27
Purpleish Pink
#DF4EC8
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C642A2 #42C666
analogous
#A842C6 #C642A2 #C64260
triadic
#C642A2 #A2C642 #42A2C6
tetradic
#C642A2 #C6A842 #42C666 #4260C6
square
#C642A2 #C6A842 #42C666 #4260C6
split-complementary
#C642A2 #60C642 #42C6A8
monochromatic
#6D2158 #9C2F7E #C642A2 #D471B9 #E2A0D0
Accessibility & contrast
On white
4.47
#C642A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#C642A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C642A2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C642A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C642A2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D1456C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c642a2; /* rgb */ color: rgb(198, 66, 162); /* oklch */ color: oklch(59.6% 0.196 340.4);
Tailwind
colors: {
custom: {
50: '#db80bd',
500: '#c642a2',
950: '#000000',
},
}SCSS
$custom: #c642a2; $custom-light: #db80bd; $custom-dark: #000000;
JSON
{
"hex": "#c642a2",
"rgb": {
"r": 198,
"g": 66,
"b": 162
},
"hsl": {
"h": 316.364,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.59572,
"c": 0.19587,
"h": 340.4
},
"luminance": 0.18511
}Semantic roles & 50–950 ramp
primary
#C642A2
secondary
#95CFA5
accent
#DD734B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81