#CD78A2#CD78A2
#CD78A2 is a light, moderate pink. Relative luminance 0.290; OKLCH L 67.7% C 0.117 H 349.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CD78A2 |
|---|---|
| RGB | rgb(205, 120, 162) |
| HSL | hsl(330, 46%, 64%) |
| HSV | hsv(330, 41%, 80%) |
| CMYK | cmyk(0%, 41.5%, 21%, 19.6%) |
| CIE-LAB | lab(60.80, 38.64, -8.09) |
| CIE-LCH | lch(60.80, 39.47, 348.17°) |
| OKLab | oklab(67.73% 0.1155 -0.021) |
| OKLCH | oklch(67.73% 0.117 349.7) |
| XYZ | xyz(38.4156, 29.0234, 37.7541) |
| Luminance | 0.2902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 5.24
Pale Magenta
#D767AD
ΔE00 5.67
Muted Pink
#D1768F
ΔE00 5.67
Dull Pink
#D5869D
ΔE00 6.09
Dusky Pink
#CC7A8B
ΔE00 7.36
Medium Pink
#F36196
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD78A2 #78CDA3
analogous
#CD78CC #CD78A2 #CD7878
triadic
#CD78A2 #A2CD78 #78A2CD
tetradic
#CD78A2 #CCCD78 #78CDA3 #7878CD
square
#CD78A2 #CCCD78 #78CDA3 #7878CD
split-complementary
#CD78A2 #78CD78 #78CCCD
monochromatic
#943765 #BC4B83 #CD78A2 #DEA5C1 #EED1E0
Accessibility & contrast
On white
3.09
#CD78A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#CD78A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD78A2
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD78A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD78A2 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#9698A0
Tritanopia (blue-blind)
#D87687
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #cd78a2; /* rgb */ color: rgb(205, 120, 162); /* oklch */ color: oklch(67.7% 0.117 349.7);
Tailwind
colors: {
custom: {
50: '#dea0bd',
500: '#cd78a2',
950: '#000000',
},
}SCSS
$custom: #cd78a2; $custom-light: #dea0bd; $custom-dark: #000000;
JSON
{
"hex": "#cd78a2",
"rgb": {
"r": 205,
"g": 120,
"b": 162
},
"hsl": {
"h": 330.353,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.67731,
"c": 0.11738,
"h": 349.7
},
"luminance": 0.29021
}Semantic roles & 50–950 ramp
primary
#CD78A2
secondary
#C1DFD1
accent
#B9742C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F12
muted
#837F81