#CD478C#CD478C

#CD478C is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.3% C 0.182 H 352.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD478C
RGBrgb(205, 71, 140)
HSLhsl(329, 57%, 54%)
HSVhsv(329, 65%, 80%)
CMYKcmyk(0%, 65.4%, 31.7%, 19.6%)
CIE-LABlab(51.13, 59.07, -9.68)
CIE-LCHlch(51.13, 59.86, 350.70°)
OKLaboklab(60.26% 0.1801 -0.0249)
OKLCHoklch(60.26% 0.182 352.1)
XYZxyz(32.1654, 19.3826, 26.8531)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD478C #47CD88
analogous
#CB47CD #CD478C #CD4749
triadic
#CD478C #8CCD47 #478CCD
tetradic
#CD478C #CDCB47 #47CD88 #4749CD
square
#CD478C #CDCB47 #47CD88 #4749CD
split-complementary
#CD478C #49CD47 #47CDCB
monochromatic
#79214E #A92E6D #CD478C #DA77AA #E7A7C8

Accessibility & contrast

On white

4.31
#CD478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD478C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD478C#FFFFFF#000000##000000
##CD478C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#818389
Tritanopia (blue-blind)
#DC3F64
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd478c;
/* rgb */ color: rgb(205, 71, 140);
/* oklch */ color: oklch(60.3% 0.182 352.1);
Tailwind
colors: {
  custom: {
    50: '#e083ad',
    500: '#cd478c',
    950: '#000000',
  },
}
SCSS
$custom: #cd478c;
$custom-light: #e083ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd478c",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 329.104,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.18185,
    "h": 352.1
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#CD478C
secondary
#9BD4B7
accent
#E19247
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD478C

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

Preview Lab → · Contrast checker → · Palette generator →

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