#CD34A2#CD34A2
#CD34A2 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.4% C 0.217 H 341.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CD34A2 |
|---|---|
| RGB | rgb(205, 52, 162) |
| HSL | hsl(317, 60%, 50%) |
| HSV | hsv(317, 75%, 80%) |
| CMYK | cmyk(0%, 74.6%, 21%, 19.6%) |
| CIE-LAB | lab(49.55, 68.61, -25.18) |
| CIE-LCH | lch(49.55, 73.08, 339.85°) |
| OKLab | oklab(59.39% 0.206 -0.0677) |
| OKLCH | oklch(59.39% 0.217 341.8) |
| XYZ | xyz(32.9275, 18.0471, 35.9248) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.56
Pinky Purple
#C94CBE
ΔE00 6.08
Mediumvioletred
#C71585
ΔE00 6.15
Purplish Pink
#CE5DAE
ΔE00 7.42
Ugly Purple
#A442A0
ΔE00 7.81
Hot Magenta
#F504C9
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD34A2 #34CD5F
analogous
#AC34CD #CD34A2 #CD3455
triadic
#CD34A2 #A2CD34 #34A2CD
tetradic
#CD34A2 #CDAC34 #34CD5F #3455CD
square
#CD34A2 #CDAC34 #34CD5F #3455CD
split-complementary
#CD34A2 #55CD34 #34CDAC
monochromatic
#6C1B55 #9D277C #CD34A2 #D965B8 #E596CF
Accessibility & contrast
On white
4.56
#CD34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#CD34A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD34A2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD34A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD34A2 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#DA3667
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cd34a2; /* rgb */ color: rgb(205, 52, 162); /* oklch */ color: oklch(59.4% 0.217 341.8);
Tailwind
colors: {
custom: {
50: '#e17abd',
500: '#cd34a2',
950: '#000000',
},
}SCSS
$custom: #cd34a2; $custom-light: #e17abd; $custom-dark: #000000;
JSON
{
"hex": "#cd34a2",
"rgb": {
"r": 205,
"g": 52,
"b": 162
},
"hsl": {
"h": 316.863,
"s": 60.474,
"l": 50.392
},
"oklch": {
"l": 0.59386,
"c": 0.21679,
"h": 341.8
},
"luminance": 0.18044
}Semantic roles & 50–950 ramp
primary
#CD34A2
secondary
#8CD19F
accent
#E47144
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160A12
muted
#847C81