#CD78A2#CD78A2

#CD78A2 is a light, moderate pink. Relative luminance 0.290; OKLCH L 67.7% C 0.117 H 349.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CD78A2
RGBrgb(205, 120, 162)
HSLhsl(330, 46%, 64%)
HSVhsv(330, 41%, 80%)
CMYKcmyk(0%, 41.5%, 21%, 19.6%)
CIE-LABlab(60.80, 38.64, -8.09)
CIE-LCHlch(60.80, 39.47, 348.17°)
OKLaboklab(67.73% 0.1155 -0.021)
OKLCHoklch(67.73% 0.117 349.7)
XYZxyz(38.4156, 29.0234, 37.7541)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD78A2 #78CDA3
analogous
#CD78CC #CD78A2 #CD7878
triadic
#CD78A2 #A2CD78 #78A2CD
tetradic
#CD78A2 #CCCD78 #78CDA3 #7878CD
square
#CD78A2 #CCCD78 #78CDA3 #7878CD
split-complementary
#CD78A2 #78CD78 #78CCCD
monochromatic
#943765 #BC4B83 #CD78A2 #DEA5C1 #EED1E0

Accessibility & contrast

On white

3.09
#CD78A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CD78A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD78A2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD78A2#FFFFFF#000000##000000
##CD78A21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#9698A0
Tritanopia (blue-blind)
#D87687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd78a2;
/* rgb */ color: rgb(205, 120, 162);
/* oklch */ color: oklch(67.7% 0.117 349.7);
Tailwind
colors: {
  custom: {
    50: '#dea0bd',
    500: '#cd78a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd78a2;
$custom-light: #dea0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd78a2",
  "rgb": {
    "r": 205,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 330.353,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67731,
    "c": 0.11738,
    "h": 349.7
  },
  "luminance": 0.29021
}

Semantic roles & 50–950 ramp

primary
#CD78A2
secondary
#C1DFD1
accent
#B9742C
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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