#C942A2#C942A2
#C942A2 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.198 H 341.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C942A2 |
|---|---|
| RGB | rgb(201, 66, 162) |
| HSL | hsl(317, 56%, 52%) |
| HSV | hsv(317, 67%, 79%) |
| CMYK | cmyk(0%, 67.2%, 19.4%, 21.2%) |
| CIE-LAB | lab(50.60, 62.78, -23.61) |
| CIE-LCH | lch(50.60, 67.07, 339.39°) |
| OKLab | oklab(60.02% 0.1875 -0.0634) |
| OKLCH | oklch(60.02% 0.198 341.3) |
| XYZ | xyz(32.5581, 18.9257, 36.1137) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.68
Pinky Purple
#C94CBE
ΔE00 5.39
Purplish Pink
#CE5DAE
ΔE00 5.81
Mediumvioletred
#C71585
ΔE00 7.20
Purpleish Pink
#DF4EC8
ΔE00 7.62
Ugly Purple
#A442A0
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C942A2 #42C969
analogous
#AC42C9 #C942A2 #C9425F
triadic
#C942A2 #A2C942 #42A2C9
tetradic
#C942A2 #C9AC42 #42C969 #425FC9
square
#C942A2 #C9AC42 #42C969 #425FC9
split-complementary
#C942A2 #5FC942 #42C9AC
monochromatic
#702059 #A02E7F #C942A2 #D772B9 #E4A1D1
Accessibility & contrast
On white
4.39
#C942A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#C942A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C942A2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C942A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C942A2 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D5446C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c942a2; /* rgb */ color: rgb(201, 66, 162); /* oklch */ color: oklch(60.0% 0.198 341.3);
Tailwind
colors: {
custom: {
50: '#dd80bd',
500: '#c942a2',
950: '#000000',
},
}SCSS
$custom: #c942a2; $custom-light: #dd80bd; $custom-dark: #000000;
JSON
{
"hex": "#c942a2",
"rgb": {
"r": 201,
"g": 66,
"b": 162
},
"hsl": {
"h": 317.333,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.60021,
"c": 0.19792,
"h": 341.3
},
"luminance": 0.18923
}Semantic roles & 50–950 ramp
primary
#C942A2
secondary
#96D1A7
accent
#DF7449
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81