#CD4C78#CD4C78

#CD4C78 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.167 H 2.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD4C78
RGBrgb(205, 76, 120)
HSLhsl(340, 56%, 55%)
HSVhsv(340, 63%, 80%)
CMYKcmyk(0%, 62.9%, 41.5%, 19.6%)
CIE-LABlab(51.28, 54.76, 2.51)
CIE-LCHlch(51.28, 54.82, 2.63°)
OKLaboklab(60.17% 0.1672 0.0071)
OKLCHoklch(60.17% 0.167 2.4)
XYZxyz(31.1535, 19.5077, 19.8904)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C78 #4CCDA1
analogous
#CD4CB8 #CD4C78 #CD614C
triadic
#CD4C78 #78CD4C #4C78CD
tetradic
#CD4C78 #B8CD4C #4CCDA1 #614CCD
square
#CD4C78 #B8CD4C #4CCDA1 #614CCD
split-complementary
#CD4C78 #4CCD61 #4CB8CD
monochromatic
#7C2341 #AC305A #CD4C78 #DA7C9C #E8ACC0

Accessibility & contrast

On white

4.29
#CD4C78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD4C78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C78
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C78#FFFFFF#000000##000000
##CD4C781.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656A79
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#DE3D5D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4c78;
/* rgb */ color: rgb(205, 76, 120);
/* oklch */ color: oklch(60.2% 0.167 2.4);
Tailwind
colors: {
  custom: {
    50: '#e1859e',
    500: '#cd4c78',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c78;
$custom-light: #e1859e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c78",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 339.535,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.16738,
    "h": 2.4
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#CD4C78
secondary
#9FD5C3
accent
#E0AC48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4C78

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

Preview Lab → · Contrast checker → · Palette generator →

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