#CD4C7F#CD4C7F

#CD4C7F is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.4% C 0.170 H 359.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CD4C7F
RGBrgb(205, 76, 127)
HSLhsl(336, 56%, 55%)
HSVhsv(336, 63%, 80%)
CMYKcmyk(0%, 62.9%, 38%, 19.6%)
CIE-LABlab(51.48, 55.51, -1.39)
CIE-LCHlch(51.48, 55.52, 358.56°)
OKLaboklab(60.38% 0.1696 -0.0029)
OKLCHoklch(60.38% 0.17 359)
XYZxyz(31.5940, 19.6839, 22.2101)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C7F #4CCD9A
analogous
#CD4CC0 #CD4C7F #CD594C
triadic
#CD4C7F #7FCD4C #4C7FCD
tetradic
#CD4C7F #C0CD4C #4CCD9A #594CCD
square
#CD4C7F #C0CD4C #4CCD9A #594CCD
split-complementary
#CD4C7F #4CCD59 #4CC0CD
monochromatic
#7C2346 #AC3061 #CD4C7F #DA7CA1 #E8ACC3

Accessibility & contrast

On white

4.25
#CD4C7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CD4C7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C7F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C7F#FFFFFF#000000##000000
##CD4C7F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DD4060
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4c7f;
/* rgb */ color: rgb(205, 76, 127);
/* oklch */ color: oklch(60.4% 0.170 359.0);
Tailwind
colors: {
  custom: {
    50: '#e185a4',
    500: '#cd4c7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c7f;
$custom-light: #e185a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c7f",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 127
  },
  "hsl": {
    "h": 336.279,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.16965,
    "h": 359
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#CD4C7F
secondary
#9FD5C0
accent
#E0A448
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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