#CD4778#CD4778

#CD4778 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.174 H 1.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CD4778
RGBrgb(205, 71, 120)
HSLhsl(338, 57%, 54%)
HSVhsv(338, 65%, 80%)
CMYKcmyk(0%, 65.4%, 41.5%, 19.6%)
CIE-LABlab(50.51, 56.85, 1.39)
CIE-LCHlch(50.51, 56.87, 1.40°)
OKLaboklab(59.6% 0.1739 0.0043)
OKLCHoklch(59.6% 0.174 1.4)
XYZxyz(30.8224, 18.8454, 19.7800)
Luminance0.1884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4778 #47CD9C
analogous
#CD47BB #CD4778 #CD5947
triadic
#CD4778 #78CD47 #4778CD
tetradic
#CD4778 #BBCD47 #47CD9C #5947CD
square
#CD4778 #BBCD47 #47CD9C #5947CD
split-complementary
#CD4778 #47CD59 #47BBCD
monochromatic
#792141 #A92E5B #CD4778 #DA779B #E7A7BF

Accessibility & contrast

On white

4.40
#CD4778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CD4778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4778
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4778#FFFFFF#000000##000000
##CD47781.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616879
Deuteranopia (green-blind)
#858275
Tritanopia (blue-blind)
#DE375B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd4778;
/* rgb */ color: rgb(205, 71, 120);
/* oklch */ color: oklch(59.6% 0.174 1.4);
Tailwind
colors: {
  custom: {
    50: '#e1829e',
    500: '#cd4778',
    950: '#000000',
  },
}
SCSS
$custom: #cd4778;
$custom-light: #e1829e;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4778",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 338.06,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.1739,
    "h": 1.4
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#CD4778
secondary
#9BD4C0
accent
#E1A847
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4778

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

Preview Lab → · Contrast checker → · Palette generator →

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