#CD2D9B#CD2D9B
#CD2D9B is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.220 H 344.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2D9B |
|---|---|
| RGB | rgb(205, 45, 155) |
| HSL | hsl(319, 64%, 49%) |
| HSV | hsv(319, 78%, 80%) |
| CMYK | cmyk(0%, 78%, 24.4%, 19.6%) |
| CIE-LAB | lab(48.54, 69.75, -22.57) |
| CIE-LCH | lch(48.54, 73.31, 342.07°) |
| OKLab | oklab(58.56% 0.2111 -0.0603) |
| OKLCH | oklch(58.56% 0.22 344.1) |
| XYZ | xyz(32.0329, 17.2260, 32.6420) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.67
Purpley Pink
#C83CB9
ΔE00 5.89
Magenta (survey)
#C20078
ΔE00 7.39
Pinky Purple
#C94CBE
ΔE00 7.56
Ugly Purple
#A442A0
ΔE00 8.09
Purplish Pink
#CE5DAE
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2D9B #2DCD5F
analogous
#AF2DCD #CD2D9B #CD2D4B
triadic
#CD2D9B #9BCD2D #2D9BCD
tetradic
#CD2D9B #CDAF2D #2DCD5F #2D4BCD
square
#CD2D9B #CDAF2D #2DCD5F #2D4BCD
split-complementary
#CD2D9B #4BCD2D #2DCDAF
monochromatic
#69174F #9B2275 #CD2D9B #DB5CB3 #E68ECB
Accessibility & contrast
On white
4.73
#CD2D9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#CD2D9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD2D9B
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD2D9B | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41629E
Deuteranopia (green-blind)
#737D97
Tritanopia (blue-blind)
#DB2C61
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #cd2d9b; /* rgb */ color: rgb(205, 45, 155); /* oklch */ color: oklch(58.6% 0.220 344.1);
Tailwind
colors: {
custom: {
50: '#e178b8',
500: '#cd2d9b',
950: '#000000',
},
}SCSS
$custom: #cd2d9b; $custom-light: #e178b8; $custom-dark: #000000;
JSON
{
"hex": "#cd2d9b",
"rgb": {
"r": 205,
"g": 45,
"b": 155
},
"hsl": {
"h": 318.75,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.58558,
"c": 0.21952,
"h": 344.1
},
"luminance": 0.17222
}Semantic roles & 50–950 ramp
primary
#CD2D9B
secondary
#85D19D
accent
#E77541
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A11
muted
#847C80