#C42DA2#C42DA2
#C42DA2 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.218 H 339.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #C42DA2 |
|---|---|
| RGB | rgb(196, 45, 162) |
| HSL | hsl(314, 63%, 47%) |
| HSV | hsv(314, 77%, 77%) |
| CMYK | cmyk(0%, 77%, 17.3%, 23.1%) |
| CIE-LAB | lab(47.27, 68.58, -28.85) |
| CIE-LCH | lch(47.27, 74.40, 337.19°) |
| OKLab | oklab(57.44% 0.204 -0.0782) |
| OKLCH | oklch(57.44% 0.218 339) |
| XYZ | xyz(30.2257, 16.2242, 35.7152) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.58
Ugly Purple
#A442A0
ΔE00 5.84
Mediumvioletred
#C71585
ΔE00 5.86
Pinky Purple
#C94CBE
ΔE00 6.97
Medium Purple
#9E43A2
ΔE00 7.15
Barney
#AC1DB8
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42DA2 #2DC44F
analogous
#9B2DC4 #C42DA2 #C42D56
triadic
#C42DA2 #A2C42D #2DA2C4
tetradic
#C42DA2 #C49B2D #2DC44F #2D56C4
square
#C42DA2 #C49B2D #2DC44F #2D56C4
split-complementary
#C42DA2 #56C42D #2DC49B
monochromatic
#601650 #922279 #C42DA2 #D856BB #E488CF
Accessibility & contrast
On white
4.95
#C42DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#C42DA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42DA2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42DA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42DA2 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#6A789F
Tritanopia (blue-blind)
#CF3465
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c42da2; /* rgb */ color: rgb(196, 45, 162); /* oklch */ color: oklch(57.4% 0.218 339.0);
Tailwind
colors: {
custom: {
50: '#da76be',
500: '#c42da2',
950: '#000000',
},
}SCSS
$custom: #c42da2; $custom-light: #da76be; $custom-dark: #000000;
JSON
{
"hex": "#c42da2",
"rgb": {
"r": 196,
"g": 45,
"b": 162
},
"hsl": {
"h": 313.51,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.57444,
"c": 0.21847,
"h": 339
},
"luminance": 0.16221
}Semantic roles & 50–950 ramp
primary
#C42DA2
secondary
#80CD91
accent
#E66742
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81