#CD78BD#CD78BD

#CD78BD is a light, vivid pink. Relative luminance 0.301; OKLCH L 68.7% C 0.137 H 334.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD78BD
RGBrgb(205, 120, 189)
HSLhsl(311, 46%, 64%)
HSVhsv(311, 41%, 80%)
CMYKcmyk(0%, 41.5%, 7.8%, 19.6%)
CIE-LABlab(61.73, 42.99, -22.09)
CIE-LCHlch(61.73, 48.33, 332.80°)
OKLaboklab(68.74% 0.1234 -0.0596)
OKLCHoklch(68.74% 0.137 334.2)
XYZxyz(41.0784, 30.0885, 51.7782)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78BD #78CD88
analogous
#B278CD #CD78BD #CD7892
triadic
#CD78BD #BDCD78 #78BDCD
tetradic
#CD78BD #CDB278 #78CD88 #7892CD
square
#CD78BD #CDB278 #78CD88 #7892CD
split-complementary
#CD78BD #92CD78 #78CDB2
monochromatic
#943782 #BC4BA7 #CD78BD #DEA5D3 #EED1E9

Accessibility & contrast

On white

2.99
#CD78BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD78BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD78BD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78BD#FFFFFF#000000##000000
##CD78BD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBF
Deuteranopia (green-blind)
#8E9ABA
Tritanopia (blue-blind)
#D47C92
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd78bd;
/* rgb */ color: rgb(205, 120, 189);
/* oklch */ color: oklch(68.7% 0.137 334.2);
Tailwind
colors: {
  custom: {
    50: '#dea1d1',
    500: '#cd78bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd78bd;
$custom-light: #dea1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78bd",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 311.294,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.137,
    "h": 334.2
  },
  "luminance": 0.30086
}

Semantic roles & 50–950 ramp

primary
#CD78BD
secondary
#C1DFC7
accent
#B9472C
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CD78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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