#CD4D87#CD4D87

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

Color values

HEX#CD4D87
RGBrgb(205, 77, 135)
HSLhsl(333, 56%, 55%)
HSVhsv(333, 62%, 80%)
CMYKcmyk(0%, 62.4%, 34.1%, 19.6%)
CIE-LABlab(51.88, 55.98, -5.58)
CIE-LCHlch(51.88, 56.26, 354.31°)
OKLaboklab(60.76% 0.1709 -0.014)
OKLCHoklch(60.76% 0.171 355.3)
XYZxyz(32.2056, 20.0397, 25.0890)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D87 #4DCD93
analogous
#CD4DC7 #CD4D87 #CD534D
triadic
#CD4D87 #87CD4D #4D87CD
tetradic
#CD4D87 #C7CD4D #4DCD93 #534DCD
square
#CD4D87 #C7CD4D #4DCD93 #534DCD
split-complementary
#CD4D87 #4DCD53 #4DC7CD
monochromatic
#7D234C #AC3069 #CD4D87 #DA7DA7 #E8ADC7

Accessibility & contrast

On white

4.19
#CD4D87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CD4D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D87
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D87#FFFFFF#000000##000000
##CD4D871.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#626D89
Deuteranopia (green-blind)
#858484
Tritanopia (blue-blind)
#DC4464
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d87;
/* rgb */ color: rgb(205, 77, 135);
/* oklch */ color: oklch(60.8% 0.171 355.3);
Tailwind
colors: {
  custom: {
    50: '#e086a9',
    500: '#cd4d87',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d87;
$custom-light: #e086a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d87",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 332.813,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60764,
    "c": 0.17142,
    "h": 355.3
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#CD4D87
secondary
#A0D6BD
accent
#DF9B48
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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