#CD789F#CD789F

#CD789F is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.6% C 0.116 H 351.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CD789F
RGBrgb(205, 120, 159)
HSLhsl(332, 46%, 64%)
HSVhsv(332, 41%, 80%)
CMYKcmyk(0%, 41.5%, 22.4%, 19.6%)
CIE-LABlab(60.71, 38.19, -6.51)
CIE-LCHlch(60.71, 38.74, 350.33°)
OKLaboklab(67.63% 0.1145 -0.0168)
OKLCHoklch(67.63% 0.116 351.7)
XYZxyz(38.1521, 28.9180, 36.3664)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD789F #78CDA6
analogous
#CD78C9 #CD789F #CD7B78
triadic
#CD789F #9FCD78 #789FCD
tetradic
#CD789F #C9CD78 #78CDA6 #7B78CD
square
#CD789F #C9CD78 #78CDA6 #7B78CD
split-complementary
#CD789F #78CD7B #78C9CD
monochromatic
#943761 #BC4B7F #CD789F #DEA5BF #EED1DF

Accessibility & contrast

On white

3.10
#CD789F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CD789F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD789F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD789F#FFFFFF#000000##000000
##CD789F1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8189A0
Deuteranopia (green-blind)
#96989D
Tritanopia (blue-blind)
#D87586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd789f;
/* rgb */ color: rgb(205, 120, 159);
/* oklch */ color: oklch(67.6% 0.116 351.7);
Tailwind
colors: {
  custom: {
    50: '#dea0bb',
    500: '#cd789f',
    950: '#000000',
  },
}
SCSS
$custom: #cd789f;
$custom-light: #dea0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd789f",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 332.471,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67629,
    "c": 0.11571,
    "h": 351.7
  },
  "luminance": 0.28915
}

Semantic roles & 50–950 ramp

primary
#CD789F
secondary
#C1DFD2
accent
#B9792C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD789F

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

Preview Lab → · Contrast checker → · Palette generator →

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