#C942AA#C942AA
#C942AA is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.203 H 338.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C942AA |
|---|---|
| RGB | rgb(201, 66, 170) |
| HSL | hsl(314, 56%, 52%) |
| HSV | hsv(314, 67%, 79%) |
| CMYK | cmyk(0%, 67.2%, 15.4%, 21.2%) |
| CIE-LAB | lab(50.94, 63.91, -27.80) |
| CIE-LCH | lch(50.94, 69.69, 336.49°) |
| OKLab | oklab(60.38% 0.1888 -0.0752) |
| OKLCH | oklch(60.38% 0.203 338.3) |
| XYZ | xyz(33.2920, 19.2192, 39.9787) |
| Luminance | 0.1922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.15
Pinky Purple
#C94CBE
ΔE00 3.93
Purplish Pink
#CE5DAE
ΔE00 5.78
Purpleish Pink
#DF4EC8
ΔE00 6.65
Hot Magenta
#F504C9
ΔE00 7.44
Ugly Purple
#A442A0
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C942AA #42C961
analogous
#A542C9 #C942AA #C94266
triadic
#C942AA #AAC942 #42AAC9
tetradic
#C942AA #C9A542 #42C961 #4266C9
square
#C942AA #C9A542 #42C961 #4266C9
split-complementary
#C942AA #66C942 #42C9A5
monochromatic
#70205E #A02E86 #C942AA #D772BF #E4A1D5
Accessibility & contrast
On white
4.34
#C942AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#C942AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C942AA
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C942AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C942AA | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#D44870
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c942aa; /* rgb */ color: rgb(201, 66, 170); /* oklch */ color: oklch(60.4% 0.203 338.3);
Tailwind
colors: {
custom: {
50: '#dd80c3',
500: '#c942aa',
950: '#000000',
},
}SCSS
$custom: #c942aa; $custom-light: #dd80c3; $custom-dark: #000000;
JSON
{
"hex": "#c942aa",
"rgb": {
"r": 201,
"g": 66,
"b": 170
},
"hsl": {
"h": 313.778,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.60383,
"c": 0.20325,
"h": 338.3
},
"luminance": 0.19216
}Semantic roles & 50–950 ramp
primary
#C942AA
secondary
#96D1A4
accent
#DF6B49
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81