#CD78AB#CD78AB

#CD78AB is a light, vivid pink. Relative luminance 0.294; OKLCH L 68.0% C 0.123 H 344.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CD78AB
RGBrgb(205, 120, 171)
HSLhsl(324, 46%, 64%)
HSVhsv(324, 41%, 80%)
CMYKcmyk(0%, 41.5%, 16.6%, 19.6%)
CIE-LABlab(61.09, 40.02, -12.81)
CIE-LCHlch(61.09, 42.02, 342.26°)
OKLaboklab(68.05% 0.1183 -0.0338)
OKLCHoklch(68.05% 0.123 344)
XYZxyz(39.2444, 29.3549, 42.1192)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78AB #78CD9A
analogous
#C478CD #CD78AB #CD7880
triadic
#CD78AB #ABCD78 #78ABCD
tetradic
#CD78AB #CDC478 #78CD9A #7880CD
square
#CD78AB #CDC478 #78CD9A #7880CD
split-complementary
#CD78AB #80CD78 #78CDC4
monochromatic
#94376F #BC4B8F #CD78AB #DEA5C7 #EED1E3

Accessibility & contrast

On white

3.06
#CD78AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CD78AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD78AB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78AB#FFFFFF#000000##000000
##CD78AB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAD
Deuteranopia (green-blind)
#9399A9
Tritanopia (blue-blind)
#D7788B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd78ab;
/* rgb */ color: rgb(205, 120, 171);
/* oklch */ color: oklch(68.0% 0.123 344.0);
Tailwind
colors: {
  custom: {
    50: '#dea1c4',
    500: '#cd78ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ab;
$custom-light: #dea1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ab",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 324,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68047,
    "c": 0.12308,
    "h": 344
  },
  "luminance": 0.29352
}

Semantic roles & 50–950 ramp

primary
#CD78AB
secondary
#C1DFCD
accent
#B9652C
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD78AB

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

Preview Lab → · Contrast checker → · Palette generator →

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