#CD789B#CD789B

#CD789B is a light, moderate pink. Relative luminance 0.288; OKLCH L 67.5% C 0.114 H 354.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CD789B
RGBrgb(205, 120, 155)
HSLhsl(335, 46%, 64%)
HSVhsv(335, 41%, 80%)
CMYKcmyk(0%, 41.5%, 24.4%, 19.6%)
CIE-LABlab(60.59, 37.61, -4.39)
CIE-LCHlch(60.59, 37.86, 353.34°)
OKLaboklab(67.5% 0.1131 -0.0111)
OKLCHoklch(67.5% 0.114 354.4)
XYZxyz(37.8106, 28.7814, 34.5679)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD789B #78CDAA
analogous
#CD78C5 #CD789B #CD7F78
triadic
#CD789B #9BCD78 #789BCD
tetradic
#CD789B #C5CD78 #78CDAA #7F78CD
square
#CD789B #C5CD78 #78CDAA #7F78CD
split-complementary
#CD789B #78CD7F #78C5CD
monochromatic
#94375D #BC4B7A #CD789B #DEA5BC #EED1DD

Accessibility & contrast

On white

3.11
#CD789B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CD789B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD789B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD789B#FFFFFF#000000##000000
##CD789B1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82899C
Deuteranopia (green-blind)
#979899
Tritanopia (blue-blind)
#D97484
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd789b;
/* rgb */ color: rgb(205, 120, 155);
/* oklch */ color: oklch(67.5% 0.114 354.4);
Tailwind
colors: {
  custom: {
    50: '#dea0b8',
    500: '#cd789b',
    950: '#000000',
  },
}
SCSS
$custom: #cd789b;
$custom-light: #dea0b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd789b",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 335.294,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.11368,
    "h": 354.4
  },
  "luminance": 0.28779
}

Semantic roles & 50–950 ramp

primary
#CD789B
secondary
#C1DFD3
accent
#B97F2C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CD789B

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

Preview Lab → · Contrast checker → · Palette generator →

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