#CD78BA#CD78BA

#CD78BA is a light, vivid pink. Relative luminance 0.300; OKLCH L 68.6% C 0.134 H 335.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD78BA
RGBrgb(205, 120, 186)
HSLhsl(313, 46%, 64%)
HSVhsv(313, 41%, 80%)
CMYKcmyk(0%, 41.5%, 9.3%, 19.6%)
CIE-LABlab(61.62, 42.47, -20.56)
CIE-LCHlch(61.62, 47.19, 334.17°)
OKLaboklab(68.62% 0.1226 -0.0553)
OKLCHoklch(68.62% 0.134 335.7)
XYZxyz(40.7562, 29.9596, 50.0809)
Luminance0.2996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78BA #78CD8B
analogous
#B578CD #CD78BA #CD788F
triadic
#CD78BA #BACD78 #78BACD
tetradic
#CD78BA #CDB578 #78CD8B #788FCD
square
#CD78BA #CDB578 #78CD8B #788FCD
split-complementary
#CD78BA #8FCD78 #78CDB5
monochromatic
#94377F #BC4BA3 #CD78BA #DEA5D1 #EED1E8

Accessibility & contrast

On white

3.00
#CD78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD78BA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78BA#FFFFFF#000000##000000
##CD78BA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBC
Deuteranopia (green-blind)
#8F99B8
Tritanopia (blue-blind)
#D57B91
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd78ba;
/* rgb */ color: rgb(205, 120, 186);
/* oklch */ color: oklch(68.6% 0.134 335.7);
Tailwind
colors: {
  custom: {
    50: '#dea1ce',
    500: '#cd78ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd78ba;
$custom-light: #dea1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78ba",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 313.412,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68616,
    "c": 0.13448,
    "h": 335.7
  },
  "luminance": 0.29957
}

Semantic roles & 50–950 ramp

primary
#CD78BA
secondary
#C1DFC8
accent
#B94C2C
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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