#CD78B2#CD78B2

#CD78B2 is a light, vivid pink. Relative luminance 0.296; OKLCH L 68.3% C 0.128 H 340.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CD78B2
RGBrgb(205, 120, 178)
HSLhsl(319, 46%, 64%)
HSVhsv(319, 41%, 80%)
CMYKcmyk(0%, 41.5%, 13.2%, 19.6%)
CIE-LABlab(61.33, 41.14, -16.44)
CIE-LCHlch(61.33, 44.31, 338.22°)
OKLaboklab(68.31% 0.1204 -0.0438)
OKLCHoklch(68.31% 0.128 340)
XYZxyz(39.9294, 29.6289, 45.7267)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78B2 #78CD93
analogous
#BD78CD #CD78B2 #CD7887
triadic
#CD78B2 #B2CD78 #78B2CD
tetradic
#CD78B2 #CDBD78 #78CD93 #7887CD
square
#CD78B2 #CDBD78 #78CD93 #7887CD
split-complementary
#CD78B2 #87CD78 #78CDBD
monochromatic
#943776 #BC4B99 #CD78B2 #DEA5CB #EED1E5

Accessibility & contrast

On white

3.03
#CD78B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CD78B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD78B2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78B2#FFFFFF#000000##000000
##CD78B21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB4
Deuteranopia (green-blind)
#9199B0
Tritanopia (blue-blind)
#D6798D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd78b2;
/* rgb */ color: rgb(205, 120, 178);
/* oklch */ color: oklch(68.3% 0.128 340.0);
Tailwind
colors: {
  custom: {
    50: '#dea1c9',
    500: '#cd78b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd78b2;
$custom-light: #dea1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78b2",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 319.059,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68306,
    "c": 0.12813,
    "h": 340
  },
  "luminance": 0.29626
}

Semantic roles & 50–950 ramp

primary
#CD78B2
secondary
#C1DFCB
accent
#B9592C
background
#FDFAFC
surface
#FBF3F8
border
#D4CDD1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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