#C042AE#C042AE
#C042AE is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.200 H 334.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C042AE |
|---|---|
| RGB | rgb(192, 66, 174) |
| HSL | hsl(309, 50%, 51%) |
| HSV | hsv(309, 66%, 75%) |
| CMYK | cmyk(0%, 65.6%, 9.4%, 24.7%) |
| CIE-LAB | lab(49.69, 62.23, -32.20) |
| CIE-LCH | lch(49.69, 70.06, 332.64°) |
| OKLab | oklab(59.25% 0.1802 -0.088) |
| OKLCH | oklch(59.25% 0.2 334) |
| XYZ | xyz(31.3266, 18.1614, 41.8918) |
| Luminance | 0.1816 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.08
Pinky Purple
#C94CBE
ΔE00 3.80
Ugly Purple
#A442A0
ΔE00 5.69
Medium Purple
#9E43A2
ΔE00 6.77
Purplish Pink
#CE5DAE
ΔE00 7.36
Pinkish Purple
#D648D7
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C042AE #42C054
analogous
#9342C0 #C042AE #C0426F
triadic
#C042AE #AEC042 #42AEC0
tetradic
#C042AE #C09342 #42C054 #426FC0
square
#C042AE #C09342 #42C054 #426FC0
split-complementary
#C042AE #6FC042 #42C093
monochromatic
#66225C #943186 #C042AE #CF70C2 #DF9ED5
Accessibility & contrast
On white
4.53
#C042AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#C042AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C042AE
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C042AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C042AE | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#406AB1
Deuteranopia (green-blind)
#6A7DAB
Tritanopia (blue-blind)
#C94C72
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c042ae; /* rgb */ color: rgb(192, 66, 174); /* oklch */ color: oklch(59.3% 0.200 334.0);
Tailwind
colors: {
custom: {
50: '#d680c6',
500: '#c042ae',
950: '#000000',
},
}SCSS
$custom: #c042ae; $custom-light: #d680c6; $custom-dark: #000000;
JSON
{
"hex": "#c042ae",
"rgb": {
"r": 192,
"g": 66,
"b": 174
},
"hsl": {
"h": 308.571,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.59254,
"c": 0.20049,
"h": 334
},
"luminance": 0.18159
}Semantic roles & 50–950 ramp
primary
#C042AE
secondary
#93CB9B
accent
#DA624E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82