#CD2EB2#CD2EB2
#CD2EB2 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.7% C 0.233 H 336.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2EB2 |
|---|---|
| RGB | rgb(205, 46, 178) |
| HSL | hsl(310, 63%, 49%) |
| HSV | hsv(310, 78%, 80%) |
| CMYK | cmyk(0%, 77.6%, 13.2%, 19.6%) |
| CIE-LAB | lab(49.68, 72.50, -34.42) |
| CIE-LCH | lch(49.68, 80.25, 334.61°) |
| OKLab | oklab(59.72% 0.213 -0.0939) |
| OKLCH | oklch(59.72% 0.233 336.2) |
| XYZ | xyz(34.1903, 18.1507, 43.8136) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.04
Pinky Purple
#C94CBE
ΔE00 4.56
Purple Pink
#D725DE
ΔE00 6.74
Hot Magenta
#F504C9
ΔE00 7.01
Fuchsia (survey)
#ED0DD9
ΔE00 7.11
Ugly Purple
#A442A0
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2EB2 #2ECD49
analogous
#992ECD #CD2EB2 #CD2E62
triadic
#CD2EB2 #B2CD2E #2EB2CD
tetradic
#CD2EB2 #CD992E #2ECD49 #2E62CD
square
#CD2EB2 #CD992E #2ECD49 #2E62CD
split-complementary
#CD2EB2 #62CD2E #2ECD99
monochromatic
#69185B #9B2387 #CD2EB2 #DB5DC5 #E68FD7
Accessibility & contrast
On white
4.54
#CD2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#CD2EB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD2EB2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2EB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD2EB2 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#6B7FAE
Tritanopia (blue-blind)
#D83B6E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cd2eb2; /* rgb */ color: rgb(205, 46, 178); /* oklch */ color: oklch(59.7% 0.233 336.2);
Tailwind
colors: {
custom: {
50: '#e179c9',
500: '#cd2eb2',
950: '#000000',
},
}SCSS
$custom: #cd2eb2; $custom-light: #e179c9; $custom-dark: #000000;
JSON
{
"hex": "#cd2eb2",
"rgb": {
"r": 205,
"g": 46,
"b": 178
},
"hsl": {
"h": 310.189,
"s": 63.347,
"l": 49.216
},
"oklch": {
"l": 0.59715,
"c": 0.23281,
"h": 336.2
},
"luminance": 0.18147
}Semantic roles & 50–950 ramp
primary
#CD2EB2
secondary
#86D093
accent
#E65D41
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82