#CD4FAC#CD4FAC
#CD4FAC is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.190 H 339.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CD4FAC |
|---|---|
| RGB | rgb(205, 79, 172) |
| HSL | hsl(316, 56%, 56%) |
| HSV | hsv(316, 61%, 80%) |
| CMYK | cmyk(0%, 61.5%, 16.1%, 19.6%) |
| CIE-LAB | lab(53.55, 60.03, -24.88) |
| CIE-LCH | lch(53.55, 64.98, 337.49°) |
| OKLab | oklab(62.44% 0.1775 -0.067) |
| OKLCH | oklch(62.44% 0.19 339.3) |
| XYZ | xyz(35.4199, 21.5527, 41.3164) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.94
Pinky Purple
#C94CBE
ΔE00 4.01
Purpley Pink
#C83CB9
ΔE00 5.09
Purpleish Pink
#DF4EC8
ΔE00 5.14
Pale Magenta
#D767AD
ΔE00 6.24
Hot Magenta
#F504C9
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD4FAC #4FCD70
analogous
#AF4FCD #CD4FAC #CD4F6D
triadic
#CD4FAC #ACCD4F #4FACCD
tetradic
#CD4FAC #CDAF4F #4FCD70 #4F6DCD
square
#CD4FAC #CDAF4F #4FCD70 #4F6DCD
split-complementary
#CD4FAC #6DCD4F #4FCDAF
monochromatic
#7E2466 #AE318D #CD4FAC #DB7FC2 #E8AED9
Accessibility & contrast
On white
3.95
#CD4FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#CD4FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD4FAC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD4FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD4FAC | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#7B87A9
Tritanopia (blue-blind)
#D85376
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cd4fac; /* rgb */ color: rgb(205, 79, 172); /* oklch */ color: oklch(62.4% 0.190 339.3);
Tailwind
colors: {
custom: {
50: '#df88c5',
500: '#cd4fac',
950: '#000000',
},
}SCSS
$custom: #cd4fac; $custom-light: #df88c5; $custom-dark: #000000;
JSON
{
"hex": "#cd4fac",
"rgb": {
"r": 205,
"g": 79,
"b": 172
},
"hsl": {
"h": 315.714,
"s": 55.752,
"l": 55.686
},
"oklch": {
"l": 0.62438,
"c": 0.18978,
"h": 339.3
},
"luminance": 0.2155
}Semantic roles & 50–950 ramp
primary
#CD4FAC
secondary
#A2D6AF
accent
#DF7049
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82