#CD4C8A#CD4C8A

#CD4C8A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.174 H 353.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4C8A
RGBrgb(205, 76, 138)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 62.9%, 32.7%, 19.6%)
CIE-LABlab(51.82, 56.76, -7.45)
CIE-LCHlch(51.82, 57.25, 352.52°)
OKLaboklab(60.75% 0.1731 -0.019)
OKLCHoklch(60.75% 0.174 353.7)
XYZxyz(32.3504, 19.9865, 26.1939)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C8A #4CCD8F
analogous
#CD4CCA #CD4C8A #CD4F4C
triadic
#CD4C8A #8ACD4C #4C8ACD
tetradic
#CD4C8A #CACD4C #4CCD8F #4F4CCD
square
#CD4C8A #CACD4C #4CCD8F #4F4CCD
split-complementary
#CD4C8A #4CCD4F #4CCACD
monochromatic
#7C234E #AC306B #CD4C8A #DA7CA9 #E8ACC9

Accessibility & contrast

On white

4.20
#CD4C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD4C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C8A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C8A#FFFFFF#000000##000000
##CD4C8A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DC4365
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4c8a;
/* rgb */ color: rgb(205, 76, 138);
/* oklch */ color: oklch(60.8% 0.174 353.7);
Tailwind
colors: {
  custom: {
    50: '#e085ac',
    500: '#cd4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c8a;
$custom-light: #e085ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c8a",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 331.163,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.17414,
    "h": 353.7
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#CD4C8A
secondary
#9FD5BB
accent
#E09748
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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