#CD3F8D#CD3F8D
#CD3F8D is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.193 H 350.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD3F8D |
|---|---|
| RGB | rgb(205, 63, 141) |
| HSL | hsl(327, 59%, 53%) |
| HSV | hsv(327, 69%, 80%) |
| CMYK | cmyk(0%, 69.3%, 31.2%, 19.6%) |
| CIE-LAB | lab(50.05, 62.28, -11.90) |
| CIE-LCH | lch(50.05, 63.40, 349.18°) |
| OKLab | oklab(59.48% 0.1901 -0.0309) |
| OKLCH | oklch(59.48% 0.193 350.8) |
| XYZ | xyz(31.7637, 18.4608, 27.0847) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.69
Darkish Pink
#DA467D
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 7.65
Neon Pink
#FE019A
ΔE00 7.82
Purplish Pink
#CE5DAE
ΔE00 7.95
Shocking Pink
#FE02A2
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD3F8D #3FCD7F
analogous
#C63FCD #CD3F8D #CD3F46
triadic
#CD3F8D #8DCD3F #3F8DCD
tetradic
#CD3F8D #CDC63F #3FCD7F #3F46CD
square
#CD3F8D #CDC63F #3FCD7F #3F46CD
split-complementary
#CD3F8D #46CD3F #3FCDC6
monochromatic
#741E4D #A42B6D #CD3F8D #DA70AA #E6A0C7
Accessibility & contrast
On white
4.48
#CD3F8D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#CD3F8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD3F8D
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD3F8D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD3F8D | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#DC3760
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cd3f8d; /* rgb */ color: rgb(205, 63, 141); /* oklch */ color: oklch(59.5% 0.193 350.8);
Tailwind
colors: {
custom: {
50: '#e17fae',
500: '#cd3f8d',
950: '#000000',
},
}SCSS
$custom: #cd3f8d; $custom-light: #e17fae; $custom-dark: #000000;
JSON
{
"hex": "#cd3f8d",
"rgb": {
"r": 205,
"g": 63,
"b": 141
},
"hsl": {
"h": 327.042,
"s": 58.678,
"l": 52.549
},
"oklch": {
"l": 0.59479,
"c": 0.19255,
"h": 350.8
},
"luminance": 0.18457
}Semantic roles & 50–950 ramp
primary
#CD3F8D
secondary
#95D3B1
accent
#E28C46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F