#CD4E78#CD4E78

#CD4E78 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.165 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD4E78
RGBrgb(205, 78, 120)
HSLhsl(340, 56%, 55%)
HSVhsv(340, 62%, 80%)
CMYKcmyk(0%, 62%, 41.5%, 19.6%)
CIE-LABlab(51.60, 53.89, 2.98)
CIE-LCHlch(51.60, 53.98, 3.16°)
OKLaboklab(60.41% 0.1645 0.0083)
OKLCHoklch(60.41% 0.165 2.9)
XYZxyz(31.2935, 19.7876, 19.9371)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E78 #4ECDA3
analogous
#CD4EB8 #CD4E78 #CD634E
triadic
#CD4E78 #78CD4E #4E78CD
tetradic
#CD4E78 #B8CD4E #4ECDA3 #634ECD
square
#CD4E78 #B8CD4E #4ECDA3 #634ECD
split-complementary
#CD4E78 #4ECD63 #4EB8CD
monochromatic
#7D2341 #AD315A #CD4E78 #DA7E9C #E8ADC1

Accessibility & contrast

On white

4.24
#CD4E78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD4E78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E78
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E78#FFFFFF#000000##000000
##CD4E781.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#676B79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DE405E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e78;
/* rgb */ color: rgb(205, 78, 120);
/* oklch */ color: oklch(60.4% 0.165 2.9);
Tailwind
colors: {
  custom: {
    50: '#e1869e',
    500: '#cd4e78',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e78;
$custom-light: #e1869e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e78",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 340.157,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60406,
    "c": 0.16471,
    "h": 2.9
  },
  "luminance": 0.19784
}

Semantic roles & 50–950 ramp

primary
#CD4E78
secondary
#A1D6C4
accent
#DFAD49
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CD4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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