#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
RGBrgb(204, 120, 159)
HSLhsl(332, 45%, 64%)
HSVhsv(332, 41%, 80%)
CMYKcmyk(0%, 41.2%, 22.1%, 20%)
CIE-LABlab(60.58, 37.84, -6.71)
CIE-LCHlch(60.58, 38.43, 349.95°)
OKLaboklab(67.51% 0.1134 -0.0173)
OKLCHoklch(67.51% 0.115 351.3)
XYZxyz(37.8771, 28.7762, 36.3535)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##CC789F1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.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

Preview Lab

Preview with #CC789F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC789F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva