#CD4C7C#CD4C7C

#CD4C7C is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.169 H 0.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CD4C7C
RGBrgb(205, 76, 124)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 62.9%, 39.5%, 19.6%)
CIE-LABlab(51.39, 55.18, 0.28)
CIE-LCHlch(51.39, 55.18, 0.29°)
OKLaboklab(60.29% 0.1686 0.0014)
OKLCHoklch(60.29% 0.169 0.5)
XYZxyz(31.4014, 19.6069, 21.1957)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C7C #4CCD9D
analogous
#CD4CBD #CD4C7C #CD5C4C
triadic
#CD4C7C #7CCD4C #4C7CCD
tetradic
#CD4C7C #BDCD4C #4CCD9D #5C4CCD
square
#CD4C7C #BDCD4C #4CCD9D #5C4CCD
split-complementary
#CD4C7C #4CCD5C #4CBDCD
monochromatic
#7C2344 #AC305E #CD4C7C #DA7C9F #E8ACC2

Accessibility & contrast

On white

4.27
#CD4C7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CD4C7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C7C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C7C#FFFFFF#000000##000000
##CD4C7C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#DD3F5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4c7c;
/* rgb */ color: rgb(205, 76, 124);
/* oklch */ color: oklch(60.3% 0.169 0.5);
Tailwind
colors: {
  custom: {
    50: '#e185a1',
    500: '#cd4c7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c7c;
$custom-light: #e185a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c7c",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 124
  },
  "hsl": {
    "h": 337.674,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.16862,
    "h": 0.5
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#CD4C7C
secondary
#9FD5C1
accent
#E0A748
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD4C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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