#CD4C7D#CD4C7D

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

Color values

HEX#CD4C7D
RGBrgb(205, 76, 125)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 62.9%, 39%, 19.6%)
CIE-LABlab(51.42, 55.29, -0.28)
CIE-LCHlch(51.42, 55.29, 359.71°)
OKLaboklab(60.32% 0.169 -0.0001)
OKLCHoklch(60.32% 0.169 0)
XYZxyz(31.4649, 19.6323, 21.5305)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C7D #4CCD9C
analogous
#CD4CBE #CD4C7D #CD5B4C
triadic
#CD4C7D #7DCD4C #4C7DCD
tetradic
#CD4C7D #BECD4C #4CCD9C #5B4CCD
square
#CD4C7D #BECD4C #4CCD9C #5B4CCD
split-complementary
#CD4C7D #4CCD5B #4CBECD
monochromatic
#7C2345 #AC305F #CD4C7D #DA7CA0 #E8ACC2

Accessibility & contrast

On white

4.26
#CD4C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CD4C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C7D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C7D#FFFFFF#000000##000000
##CD4C7D1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646B7E
Deuteranopia (green-blind)
#86847A
Tritanopia (blue-blind)
#DD3F5F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4c7d;
/* rgb */ color: rgb(205, 76, 125);
/* oklch */ color: oklch(60.3% 0.169 360.0);
Tailwind
colors: {
  custom: {
    50: '#e185a2',
    500: '#cd4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c7d;
$custom-light: #e185a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c7d",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 337.209,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.16895,
    "h": 360
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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