#C342AA#C342AA
#C342AA is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.5% C 0.199 H 336.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C342AA |
|---|---|
| RGB | rgb(195, 66, 170) |
| HSL | hsl(312, 52%, 51%) |
| HSV | hsv(312, 66%, 76%) |
| CMYK | cmyk(0%, 66.2%, 12.8%, 23.5%) |
| CIE-LAB | lab(49.98, 62.38, -29.36) |
| CIE-LCH | lch(49.98, 68.94, 334.79°) |
| OKLab | oklab(59.5% 0.1828 -0.0798) |
| OKLCH | oklch(59.5% 0.199 336.4) |
| XYZ | xyz(31.7100, 18.4035, 39.9046) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.72
Pinky Purple
#C94CBE
ΔE00 4.07
Ugly Purple
#A442A0
ΔE00 6.29
Purplish Pink
#CE5DAE
ΔE00 6.69
Purpleish Pink
#DF4EC8
ΔE00 7.46
Medium Purple
#9E43A2
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C342AA #42C35B
analogous
#9B42C3 #C342AA #C34269
triadic
#C342AA #AAC342 #42AAC3
tetradic
#C342AA #C39B42 #42C35B #4269C3
square
#C342AA #C39B42 #42C35B #4269C3
split-complementary
#C342AA #69C342 #42C39B
monochromatic
#69215B #983084 #C342AA #D270BF #E09FD4
Accessibility & contrast
On white
4.49
#C342AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#C342AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C342AA
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C342AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C342AA | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#CD4970
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #c342aa; /* rgb */ color: rgb(195, 66, 170); /* oklch */ color: oklch(59.5% 0.199 336.4);
Tailwind
colors: {
custom: {
50: '#d980c3',
500: '#c342aa',
950: '#000000',
},
}SCSS
$custom: #c342aa; $custom-light: #d980c3; $custom-dark: #000000;
JSON
{
"hex": "#c342aa",
"rgb": {
"r": 195,
"g": 66,
"b": 170
},
"hsl": {
"h": 311.628,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.59497,
"c": 0.19942,
"h": 336.4
},
"luminance": 0.18401
}Semantic roles & 50–950 ramp
primary
#C342AA
secondary
#94CD9F
accent
#DB684D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81