#CD487C#CD487C

#CD487C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.174 H 359.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD487C
RGBrgb(205, 72, 124)
HSLhsl(337, 57%, 54%)
HSVhsv(337, 65%, 80%)
CMYKcmyk(0%, 64.9%, 39.5%, 19.6%)
CIE-LABlab(50.77, 56.86, -0.62)
CIE-LCHlch(50.77, 56.86, 359.37°)
OKLaboklab(59.83% 0.1739 -0.0009)
OKLCHoklch(59.83% 0.174 359.7)
XYZxyz(31.1343, 19.0727, 21.1067)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD487C #48CD99
analogous
#CD48BF #CD487C #CD5648
triadic
#CD487C #7CCD48 #487CCD
tetradic
#CD487C #BFCD48 #48CD99 #5648CD
square
#CD487C #BFCD48 #48CD99 #5648CD
split-complementary
#CD487C #48CD56 #48BFCD
monochromatic
#792144 #A92E5E #CD487C #DA789E #E7A8C1

Accessibility & contrast

On white

4.36
#CD487C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD487C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD487C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD487C#FFFFFF#000000##000000
##CD487C1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#858279
Tritanopia (blue-blind)
#DD3A5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd487c;
/* rgb */ color: rgb(205, 72, 124);
/* oklch */ color: oklch(59.8% 0.174 359.7);
Tailwind
colors: {
  custom: {
    50: '#e183a1',
    500: '#cd487c',
    950: '#000000',
  },
}
SCSS
$custom: #cd487c;
$custom-light: #e183a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd487c",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 336.541,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.17391,
    "h": 359.7
  },
  "luminance": 0.19069
}

Semantic roles & 50–950 ramp

primary
#CD487C
secondary
#9CD5BF
accent
#E0A547
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD487C

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

Preview Lab → · Contrast checker → · Palette generator →

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