#C334A2#C334A2
#C334A2 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.8% C 0.211 H 338.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #C334A2 |
|---|---|
| RGB | rgb(195, 52, 162) |
| HSL | hsl(314, 58%, 48%) |
| HSV | hsv(314, 73%, 76%) |
| CMYK | cmyk(0%, 73.3%, 16.9%, 23.5%) |
| CIE-LAB | lab(47.84, 66.22, -27.97) |
| CIE-LCH | lch(47.84, 71.89, 337.10°) |
| OKLab | oklab(57.83% 0.1967 -0.0757) |
| OKLCH | oklch(57.83% 0.211 338.9) |
| XYZ | xyz(30.2560, 16.6696, 35.7995) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.27
Ugly Purple
#A442A0
ΔE00 5.78
Mediumvioletred
#C71585
ΔE00 6.10
Pinky Purple
#C94CBE
ΔE00 6.43
Medium Purple
#9E43A2
ΔE00 7.12
Barney
#AC1DB8
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C334A2 #34C355
analogous
#9C34C3 #C334A2 #C3345A
triadic
#C334A2 #A2C334 #34A2C3
tetradic
#C334A2 #C39C34 #34C355 #345AC3
square
#C334A2 #C39C34 #34C355 #345AC3
split-complementary
#C334A2 #5AC334 #34C39C
monochromatic
#621A52 #93277A #C334A2 #D560BA #E190CF
Accessibility & contrast
On white
4.85
#C334A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#C334A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C334A2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C334A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C334A2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#CE3A67
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c334a2; /* rgb */ color: rgb(195, 52, 162); /* oklch */ color: oklch(57.8% 0.211 338.9);
Tailwind
colors: {
custom: {
50: '#d979be',
500: '#c334a2',
950: '#000000',
},
}SCSS
$custom: #c334a2; $custom-light: #d979be; $custom-dark: #000000;
JSON
{
"hex": "#c334a2",
"rgb": {
"r": 195,
"g": 52,
"b": 162
},
"hsl": {
"h": 313.846,
"s": 57.895,
"l": 48.431
},
"oklch": {
"l": 0.57826,
"c": 0.21072,
"h": 338.9
},
"luminance": 0.16667
}Semantic roles & 50–950 ramp
primary
#C334A2
secondary
#87CC97
accent
#E16A47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81