#CD789E#CD789E

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

Color values

HEX#CD789E
RGBrgb(205, 120, 158)
HSLhsl(333, 46%, 64%)
HSVhsv(333, 41%, 80%)
CMYKcmyk(0%, 41.5%, 22.9%, 19.6%)
CIE-LABlab(60.68, 38.04, -5.98)
CIE-LCHlch(60.68, 38.51, 351.07°)
OKLaboklab(67.6% 0.1142 -0.0153)
OKLCHoklch(67.6% 0.115 352.3)
XYZxyz(38.0657, 28.8834, 35.9113)
Luminance0.2888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD789E #78CDA7
analogous
#CD78C8 #CD789E #CD7C78
triadic
#CD789E #9ECD78 #789ECD
tetradic
#CD789E #C8CD78 #78CDA7 #7C78CD
square
#CD789E #C8CD78 #78CDA7 #7C78CD
split-complementary
#CD789E #78CD7C #78C8CD
monochromatic
#943760 #BC4B7E #CD789E #DEA5BE #EED1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD789E#FFFFFF#000000##000000
##CD789E1.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)
#81899F
Deuteranopia (green-blind)
#97989C
Tritanopia (blue-blind)
#D97586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd789e;
/* rgb */ color: rgb(205, 120, 158);
/* oklch */ color: oklch(67.6% 0.115 352.3);
Tailwind
colors: {
  custom: {
    50: '#dea0ba',
    500: '#cd789e',
    950: '#000000',
  },
}
SCSS
$custom: #cd789e;
$custom-light: #dea0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd789e",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 333.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.11519,
    "h": 352.3
  },
  "luminance": 0.28881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD789E

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

Preview Lab → · Contrast checker → · Palette generator →

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