#CD2DAF#CD2DAF
#CD2DAF is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.232 H 337.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2DAF |
|---|---|
| RGB | rgb(205, 45, 175) |
| HSL | hsl(311, 64%, 49%) |
| HSV | hsv(311, 78%, 80%) |
| CMYK | cmyk(0%, 78%, 14.6%, 19.6%) |
| CIE-LAB | lab(49.44, 72.35, -33.03) |
| CIE-LCH | lch(49.44, 79.54, 335.47°) |
| OKLab | oklab(59.5% 0.2136 -0.0899) |
| OKLCH | oklch(59.5% 0.232 337.2) |
| XYZ | xyz(33.8538, 17.9543, 42.2317) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.50
Pinky Purple
#C94CBE
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 7.19
Hot Magenta
#F504C9
ΔE00 7.21
Purple Pink
#D725DE
ΔE00 7.26
Fuchsia (survey)
#ED0DD9
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2DAF #2DCD4B
analogous
#9B2DCD #CD2DAF #CD2D5F
triadic
#CD2DAF #AFCD2D #2DAFCD
tetradic
#CD2DAF #CD9B2D #2DCD4B #2D5FCD
square
#CD2DAF #CD9B2D #2DCD4B #2D5FCD
split-complementary
#CD2DAF #5FCD2D #2DCD9B
monochromatic
#691759 #9B2284 #CD2DAF #DB5CC3 #E68ED6
Accessibility & contrast
On white
4.57
#CD2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#CD2DAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD2DAF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2DAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD2DAF | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#D8386C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #cd2daf; /* rgb */ color: rgb(205, 45, 175); /* oklch */ color: oklch(59.5% 0.232 337.2);
Tailwind
colors: {
custom: {
50: '#e178c7',
500: '#cd2daf',
950: '#000000',
},
}SCSS
$custom: #cd2daf; $custom-light: #e178c7; $custom-dark: #000000;
JSON
{
"hex": "#cd2daf",
"rgb": {
"r": 205,
"g": 45,
"b": 175
},
"hsl": {
"h": 311.25,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.59497,
"c": 0.23176,
"h": 337.2
},
"luminance": 0.17951
}Semantic roles & 50–950 ramp
primary
#CD2DAF
secondary
#85D193
accent
#E76041
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82