#C042AA#C042AA
#C042AA is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.198 H 335.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C042AA |
|---|---|
| RGB | rgb(192, 66, 170) |
| HSL | hsl(310, 50%, 51%) |
| HSV | hsv(310, 66%, 75%) |
| CMYK | cmyk(0%, 65.6%, 11.5%, 24.7%) |
| CIE-LAB | lab(49.51, 61.61, -30.14) |
| CIE-LCH | lch(49.51, 68.59, 333.93°) |
| OKLab | oklab(59.06% 0.1797 -0.0821) |
| OKLCH | oklch(59.06% 0.198 335.4) |
| XYZ | xyz(30.9425, 18.0078, 39.8686) |
| Luminance | 0.1800 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.71
Pinky Purple
#C94CBE
ΔE00 4.27
Ugly Purple
#A442A0
ΔE00 5.66
Medium Purple
#9E43A2
ΔE00 6.85
Purplish Pink
#CE5DAE
ΔE00 7.19
Purpleish Pink
#DF4EC8
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C042AA #42C058
analogous
#9742C0 #C042AA #C0426B
triadic
#C042AA #AAC042 #42AAC0
tetradic
#C042AA #C09742 #42C058 #426BC0
square
#C042AA #C09742 #42C058 #426BC0
split-complementary
#C042AA #6BC042 #42C097
monochromatic
#66225A #943182 #C042AA #CF70BF #DF9ED3
Accessibility & contrast
On white
4.56
#C042AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#C042AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C042AA
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C042AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C042AA | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426AAD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#C94A70
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c042aa; /* rgb */ color: rgb(192, 66, 170); /* oklch */ color: oklch(59.1% 0.198 335.4);
Tailwind
colors: {
custom: {
50: '#d67fc3',
500: '#c042aa',
950: '#000000',
},
}SCSS
$custom: #c042aa; $custom-light: #d67fc3; $custom-dark: #000000;
JSON
{
"hex": "#c042aa",
"rgb": {
"r": 192,
"g": 66,
"b": 170
},
"hsl": {
"h": 310.476,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.59058,
"c": 0.19754,
"h": 335.4
},
"luminance": 0.18005
}Semantic roles & 50–950 ramp
primary
#C042AA
secondary
#93CB9D
accent
#DA674E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81