#CD4C87#CD4C87

#CD4C87 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.173 H 355.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD4C87
RGBrgb(205, 76, 135)
HSLhsl(333, 56%, 55%)
HSVhsv(333, 63%, 80%)
CMYKcmyk(0%, 62.9%, 34.1%, 19.6%)
CIE-LABlab(51.72, 56.41, -5.81)
CIE-LCHlch(51.72, 56.71, 354.12°)
OKLaboklab(60.65% 0.1722 -0.0146)
OKLCHoklch(60.65% 0.173 355.2)
XYZxyz(32.1362, 19.9008, 25.0658)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C87 #4CCD92
analogous
#CD4CC8 #CD4C87 #CD514C
triadic
#CD4C87 #87CD4C #4C87CD
tetradic
#CD4C87 #C8CD4C #4CCD92 #514CCD
square
#CD4C87 #C8CD4C #4CCD92 #514CCD
split-complementary
#CD4C87 #4CCD51 #4CC8CD
monochromatic
#7C234B #AC3069 #CD4C87 #DA7CA7 #E8ACC7

Accessibility & contrast

On white

4.22
#CD4C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD4C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C87
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C87#FFFFFF#000000##000000
##CD4C871.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#DC4264
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4c87;
/* rgb */ color: rgb(205, 76, 135);
/* oklch */ color: oklch(60.6% 0.173 355.2);
Tailwind
colors: {
  custom: {
    50: '#e085a9',
    500: '#cd4c87',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c87;
$custom-light: #e085a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c87",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 332.558,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.17281,
    "h": 355.2
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#CD4C87
secondary
#9FD5BD
accent
#E09A48
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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