#C351A2#C351A2
#C351A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.173 H 340.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C351A2 |
|---|---|
| RGB | rgb(195, 81, 162) |
| HSL | hsl(317, 49%, 54%) |
| HSV | hsv(317, 58%, 76%) |
| CMYK | cmyk(0%, 58.5%, 16.9%, 23.5%) |
| CIE-LAB | lab(51.95, 54.85, -21.62) |
| CIE-LCH | lch(51.95, 58.95, 338.49°) |
| OKLab | oklab(60.83% 0.1625 -0.058) |
| OKLCH | oklch(60.83% 0.173 340.3) |
| XYZ | xyz(31.9703, 20.0983, 36.3710) |
| Luminance | 0.2010 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.00
Pinky Purple
#C94CBE
ΔE00 5.39
Purpley Pink
#C83CB9
ΔE00 5.84
Pale Magenta
#D767AD
ΔE00 7.04
Purpleish Pink
#DF4EC8
ΔE00 7.36
Ugly Purple
#A442A0
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C351A2 #51C372
analogous
#AB51C3 #C351A2 #C35169
triadic
#C351A2 #A2C351 #51A2C3
tetradic
#C351A2 #C3AB51 #51C372 #5169C3
square
#C351A2 #C3AB51 #51C372 #5169C3
split-complementary
#C351A2 #69C351 #51C3AB
monochromatic
#72275D #A03781 #C351A2 #D37FBA #E2ACD3
Accessibility & contrast
On white
4.18
#C351A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#C351A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C351A2
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C351A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C351A2 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#78839F
Tritanopia (blue-blind)
#CE5372
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #c351a2; /* rgb */ color: rgb(195, 81, 162); /* oklch */ color: oklch(60.8% 0.173 340.3);
Tailwind
colors: {
custom: {
50: '#d888bd',
500: '#c351a2',
950: '#000000',
},
}SCSS
$custom: #c351a2; $custom-light: #d888bd; $custom-dark: #000000;
JSON
{
"hex": "#c351a2",
"rgb": {
"r": 195,
"g": 81,
"b": 162
},
"hsl": {
"h": 317.368,
"s": 48.718,
"l": 54.118
},
"oklch": {
"l": 0.60827,
"c": 0.17253,
"h": 340.3
},
"luminance": 0.20096
}Semantic roles & 50–950 ramp
primary
#C351A2
secondary
#A0D0AE
accent
#D87750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81