#CD2D5F#CD2D5F
#CD2D5F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.196 H 8.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2D5F |
|---|---|
| RGB | rgb(205, 45, 95) |
| HSL | hsl(341, 64%, 49%) |
| HSV | hsv(341, 78%, 80%) |
| CMYK | cmyk(0%, 78%, 53.7%, 19.6%) |
| CIE-LAB | lab(46.56, 63.76, 11.00) |
| CIE-LCH | lch(46.56, 64.70, 9.79°) |
| OKLab | oklab(56.46% 0.1941 0.0281) |
| OKLCH | oklch(56.46% 0.196 8.2) |
| XYZ | xyz(28.1834, 15.6862, 12.3679) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cerise
#DE0C62
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 3.32
Dark Hot Pink
#D90166
ΔE00 3.36
Deep Rose
#C74767
ΔE00 3.77
Raspberry
#E30B5C
ΔE00 3.88
Cherry
#DE3163
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2D5F #2DCD9B
analogous
#CD2DAF #CD2D5F #CD4B2D
triadic
#CD2D5F #5FCD2D #2D5FCD
tetradic
#CD2D5F #AFCD2D #2DCD9B #4B2DCD
square
#CD2D5F #AFCD2D #2DCD9B #4B2DCD
split-complementary
#CD2D5F #2DCD4B #2DAFCD
monochromatic
#691730 #9B2248 #CD2D5F #DB5C84 #E68EAA
Accessibility & contrast
On white
5.08
#CD2D5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#CD2D5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD2D5F
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2D5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD2D5F | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585A60
Deuteranopia (green-blind)
#817A5B
Tritanopia (blue-blind)
#E00043
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cd2d5f; /* rgb */ color: rgb(205, 45, 95); /* oklch */ color: oklch(56.5% 0.196 8.2);
Tailwind
colors: {
custom: {
50: '#e3768c',
500: '#cd2d5f',
950: '#000000',
},
}SCSS
$custom: #cd2d5f; $custom-light: #e3768c; $custom-dark: #000000;
JSON
{
"hex": "#cd2d5f",
"rgb": {
"r": 205,
"g": 45,
"b": 95
},
"hsl": {
"h": 341.25,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.56462,
"c": 0.19612,
"h": 8.2
},
"luminance": 0.15682
}Semantic roles & 50–950 ramp
primary
#CD2D5F
secondary
#85D1B9
accent
#E7B341
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D