#CD4C7A#CD4C7A

#CD4C7A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.168 H 1.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD4C7A
RGBrgb(205, 76, 122)
HSLhsl(339, 56%, 55%)
HSVhsv(339, 63%, 80%)
CMYKcmyk(0%, 62.9%, 40.5%, 19.6%)
CIE-LABlab(51.33, 54.97, 1.39)
CIE-LCHlch(51.33, 54.98, 1.45°)
OKLaboklab(60.23% 0.1679 0.0043)
OKLCHoklch(60.23% 0.168 1.5)
XYZxyz(31.2762, 19.5568, 20.5364)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C7A #4CCD9F
analogous
#CD4CBA #CD4C7A #CD5F4C
triadic
#CD4C7A #7ACD4C #4C7ACD
tetradic
#CD4C7A #BACD4C #4CCD9F #5F4CCD
square
#CD4C7A #BACD4C #4CCD9F #5F4CCD
split-complementary
#CD4C7A #4CCD5F #4CBACD
monochromatic
#7C2342 #AC305C #CD4C7A #DA7C9E #E8ACC1

Accessibility & contrast

On white

4.28
#CD4C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD4C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C7A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C7A#FFFFFF#000000##000000
##CD4C7A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#878377
Tritanopia (blue-blind)
#DD3E5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4c7a;
/* rgb */ color: rgb(205, 76, 122);
/* oklch */ color: oklch(60.2% 0.168 1.5);
Tailwind
colors: {
  custom: {
    50: '#e185a0',
    500: '#cd4c7a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c7a;
$custom-light: #e185a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c7a",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 122
  },
  "hsl": {
    "h": 338.605,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.16798,
    "h": 1.5
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#CD4C7A
secondary
#9FD5C2
accent
#E0AA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CD4C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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