#CD487E#CD487E

#CD487E is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.175 H 358.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CD487E
RGBrgb(205, 72, 126)
HSLhsl(336, 57%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 64.9%, 38.5%, 19.6%)
CIE-LABlab(50.83, 57.07, -1.74)
CIE-LCHlch(50.83, 57.10, 358.25°)
OKLaboklab(59.9% 0.1746 -0.0038)
OKLCHoklch(59.9% 0.175 358.7)
XYZxyz(31.2621, 19.1238, 21.7796)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD487E #48CD97
analogous
#CD48C1 #CD487E #CD5548
triadic
#CD487E #7ECD48 #487ECD
tetradic
#CD487E #C1CD48 #48CD97 #5548CD
square
#CD487E #C1CD48 #48CD97 #5548CD
split-complementary
#CD487E #48CD55 #48C1CD
monochromatic
#792145 #A92E60 #CD487E #DA78A0 #E7A8C2

Accessibility & contrast

On white

4.35
#CD487E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CD487E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD487E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD487E#FFFFFF#000000##000000
##CD487E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#DD3B5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd487e;
/* rgb */ color: rgb(205, 72, 126);
/* oklch */ color: oklch(59.9% 0.175 358.7);
Tailwind
colors: {
  custom: {
    50: '#e183a3',
    500: '#cd487e',
    950: '#000000',
  },
}
SCSS
$custom: #cd487e;
$custom-light: #e183a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd487e",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 335.639,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.17461,
    "h": 358.7
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#CD487E
secondary
#9CD5BE
accent
#E0A247
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD487E

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

Preview Lab → · Contrast checker → · Palette generator →

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