#CD478A#CD478A

#CD478A is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.181 H 353.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CD478A
RGBrgb(205, 71, 138)
HSLhsl(330, 57%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65.4%, 32.7%, 19.6%)
CIE-LABlab(51.06, 58.84, -8.58)
CIE-LCHlch(51.06, 59.46, 351.70°)
OKLaboklab(60.19% 0.1796 -0.022)
OKLCHoklch(60.19% 0.181 353)
XYZxyz(32.0192, 19.3241, 26.0835)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD478A #47CD8A
analogous
#CD47CD #CD478A #CD4747
triadic
#CD478A #8ACD47 #478ACD
tetradic
#CD478A #CDCD47 #47CD8A #4747CD
square
#CD478A #CDCD47 #47CD8A #4747CD
split-complementary
#CD478A #47CD47 #47CDCD
monochromatic
#79214D #A92E6B #CD478A #DA77A9 #E7A7C7

Accessibility & contrast

On white

4.32
#CD478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CD478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD478A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD478A#FFFFFF#000000##000000
##CD478A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#DC3E63
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd478a;
/* rgb */ color: rgb(205, 71, 138);
/* oklch */ color: oklch(60.2% 0.181 353.0);
Tailwind
colors: {
  custom: {
    50: '#e083ac',
    500: '#cd478a',
    950: '#000000',
  },
}
SCSS
$custom: #cd478a;
$custom-light: #e083ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd478a",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 330,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.1809,
    "h": 353
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#CD478A
secondary
#9BD4B8
accent
#E19447
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD478A

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

Preview Lab → · Contrast checker → · Palette generator →

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