#C342A2#C342A2
#C342A2 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.194 H 339.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C342A2 |
|---|---|
| RGB | rgb(195, 66, 162) |
| HSL | hsl(315, 52%, 51%) |
| HSV | hsv(315, 66%, 76%) |
| CMYK | cmyk(0%, 66.2%, 16.9%, 23.5%) |
| CIE-LAB | lab(49.63, 61.20, -25.19) |
| CIE-LCH | lch(49.63, 66.18, 337.63°) |
| OKLab | oklab(59.13% 0.1815 -0.068) |
| OKLCH | oklch(59.13% 0.194 339.5) |
| XYZ | xyz(30.9762, 18.1100, 36.0396) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.24
Pinky Purple
#C94CBE
ΔE00 5.36
Ugly Purple
#A442A0
ΔE00 6.62
Purplish Pink
#CE5DAE
ΔE00 6.62
Mediumvioletred
#C71585
ΔE00 7.06
Medium Purple
#9E43A2
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C342A2 #42C363
analogous
#A342C3 #C342A2 #C34261
triadic
#C342A2 #A2C342 #42A2C3
tetradic
#C342A2 #C3A342 #42C363 #4261C3
square
#C342A2 #C3A342 #42C363 #4261C3
split-complementary
#C342A2 #61C342 #42C3A3
monochromatic
#692157 #98307D #C342A2 #D270B9 #E09FD0
Accessibility & contrast
On white
4.54
#C342A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#C342A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C342A2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C342A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C342A2 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#CE466C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c342a2; /* rgb */ color: rgb(195, 66, 162); /* oklch */ color: oklch(59.1% 0.194 339.5);
Tailwind
colors: {
custom: {
50: '#d980bd',
500: '#c342a2',
950: '#000000',
},
}SCSS
$custom: #c342a2; $custom-light: #d980bd; $custom-dark: #000000;
JSON
{
"hex": "#c342a2",
"rgb": {
"r": 195,
"g": 66,
"b": 162
},
"hsl": {
"h": 315.349,
"s": 51.807,
"l": 51.176
},
"oklch": {
"l": 0.59125,
"c": 0.19384,
"h": 339.5
},
"luminance": 0.18107
}Semantic roles & 50–950 ramp
primary
#C342A2
secondary
#94CDA2
accent
#DB714D
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81