#CC789F#CC789F
#CC789F is a light, moderate pink. Relative luminance 0.288; OKLCH L 67.5% C 0.115 H 351.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CC789F |
|---|---|
| RGB | rgb(204, 120, 159) |
| HSL | hsl(332, 45%, 64%) |
| HSV | hsv(332, 41%, 80%) |
| CMYK | cmyk(0%, 41.2%, 22.1%, 20%) |
| CIE-LAB | lab(60.58, 37.84, -6.71) |
| CIE-LCH | lch(60.58, 38.43, 349.95°) |
| OKLab | oklab(67.51% 0.1134 -0.0173) |
| OKLCH | oklch(67.51% 0.115 351.3) |
| XYZ | xyz(37.8771, 28.7762, 36.3535) |
| Luminance | 0.2877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 4.78
Muted Pink
#D1768F
ΔE00 4.97
Dull Pink
#D5869D
ΔE00 5.59
Pale Magenta
#D767AD
ΔE00 6.26
Dusky Pink
#CC7A8B
ΔE00 6.62
Old Pink
#C77986
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC789F #78CCA5
analogous
#CC78C9 #CC789F #CC7B78
triadic
#CC789F #9FCC78 #789FCC
tetradic
#CC789F #C9CC78 #78CCA5 #7B78CC
square
#CC789F #C9CC78 #78CCA5 #7B78CC
split-complementary
#CC789F #78CC7B #78C9CC
monochromatic
#923762 #BB4C7F #CC789F #DDA4BF #EED1DE
Accessibility & contrast
On white
3.11
#CC789F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#CC789F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC789F
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC789F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC789F | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8189A0
Deuteranopia (green-blind)
#96989D
Tritanopia (blue-blind)
#D77586
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cc789f; /* rgb */ color: rgb(204, 120, 159); /* oklch */ color: oklch(67.5% 0.115 351.3);
Tailwind
colors: {
custom: {
50: '#dda0bb',
500: '#cc789f',
950: '#000000',
},
}SCSS
$custom: #cc789f; $custom-light: #dda0bb; $custom-dark: #000000;
JSON
{
"hex": "#cc789f",
"rgb": {
"r": 204,
"g": 120,
"b": 159
},
"hsl": {
"h": 332.143,
"s": 45.161,
"l": 63.529
},
"oklch": {
"l": 0.67508,
"c": 0.11468,
"h": 351.3
},
"luminance": 0.28774
}Semantic roles & 50–950 ramp
primary
#CC789F
secondary
#C1DFD1
accent
#B8782D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80