#CD478B#CD478B

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

Color values

HEX#CD478B
RGBrgb(205, 71, 139)
HSLhsl(330, 57%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65.4%, 32.2%, 19.6%)
CIE-LABlab(51.10, 58.95, -9.13)
CIE-LCHlch(51.10, 59.66, 351.20°)
OKLaboklab(60.23% 0.1799 -0.0235)
OKLCHoklch(60.23% 0.181 352.6)
XYZxyz(32.0920, 19.3532, 26.4666)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD478B #47CD89
analogous
#CC47CD #CD478B #CD4748
triadic
#CD478B #8BCD47 #478BCD
tetradic
#CD478B #CDCC47 #47CD89 #4748CD
square
#CD478B #CDCC47 #47CD89 #4748CD
split-complementary
#CD478B #48CD47 #47CDCC
monochromatic
#79214D #A92E6C #CD478B #DA77A9 #E7A7C8

Accessibility & contrast

On white

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

On black

4.87
#CD478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD478B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD478B#FFFFFF#000000##000000
##CD478B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd478b;
/* rgb */ color: rgb(205, 71, 139);
/* oklch */ color: oklch(60.2% 0.181 352.6);
Tailwind
colors: {
  custom: {
    50: '#e083ac',
    500: '#cd478b',
    950: '#000000',
  },
}
SCSS
$custom: #cd478b;
$custom-light: #e083ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd478b",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 329.552,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.18137,
    "h": 352.6
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#CD478B
secondary
#9BD4B7
accent
#E19347
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD478B

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

Preview Lab → · Contrast checker → · Palette generator →

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