#CD47A8#CD47A8
#CD47A8 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.198 H 340.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CD47A8 |
|---|---|
| RGB | rgb(205, 71, 168) |
| HSL | hsl(317, 57%, 54%) |
| HSV | hsv(317, 65%, 80%) |
| CMYK | cmyk(0%, 65.4%, 18%, 19.6%) |
| CIE-LAB | lab(52.19, 62.73, -24.64) |
| CIE-LCH | lch(52.19, 67.39, 338.56°) |
| OKLab | oklab(61.39% 0.1867 -0.0663) |
| OKLCH | oklch(61.39% 0.198 340.4) |
| XYZ | xyz(34.4988, 20.3159, 39.1426) |
| Luminance | 0.2031 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.39
Pinky Purple
#C94CBE
ΔE00 4.42
Purpley Pink
#C83CB9
ΔE00 4.54
Purpleish Pink
#DF4EC8
ΔE00 6.09
Hot Magenta
#F504C9
ΔE00 7.22
Bright Pink
#FE01B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD47A8 #47CD6C
analogous
#AF47CD #CD47A8 #CD4765
triadic
#CD47A8 #A8CD47 #47A8CD
tetradic
#CD47A8 #CDAF47 #47CD6C #4765CD
square
#CD47A8 #CDAF47 #47CD6C #4765CD
split-complementary
#CD47A8 #65CD47 #47CDAF
monochromatic
#792160 #A92E87 #CD47A8 #DA77BF #E7A7D6
Accessibility & contrast
On white
4.15
#CD47A8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CD47A8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD47A8
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD47A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD47A8 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#D94A71
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cd47a8; /* rgb */ color: rgb(205, 71, 168); /* oklch */ color: oklch(61.4% 0.198 340.4);
Tailwind
colors: {
custom: {
50: '#e083c2',
500: '#cd47a8',
950: '#000000',
},
}SCSS
$custom: #cd47a8; $custom-light: #e083c2; $custom-dark: #000000;
JSON
{
"hex": "#cd47a8",
"rgb": {
"r": 205,
"g": 71,
"b": 168
},
"hsl": {
"h": 316.567,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.6139,
"c": 0.19807,
"h": 340.4
},
"luminance": 0.20313
}Semantic roles & 50–950 ramp
primary
#CD47A8
secondary
#9BD4AB
accent
#E17247
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81