#CD4987#CD4987

#CD4987 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.177 H 354.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CD4987
RGBrgb(205, 73, 135)
HSLhsl(332, 57%, 55%)
HSVhsv(332, 64%, 80%)
CMYKcmyk(0%, 64.4%, 34.1%, 19.6%)
CIE-LABlab(51.26, 57.67, -6.49)
CIE-LCHlch(51.26, 58.03, 353.57°)
OKLaboklab(60.31% 0.1761 -0.0164)
OKLCHoklch(60.31% 0.177 354.7)
XYZxyz(31.9343, 19.4970, 24.9985)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4987 #49CD8F
analogous
#CD49C9 #CD4987 #CD4D49
triadic
#CD4987 #87CD49 #4987CD
tetradic
#CD4987 #C9CD49 #49CD8F #4D49CD
square
#CD4987 #C9CD49 #49CD8F #4D49CD
split-complementary
#CD4987 #49CD4D #49C9CD
monochromatic
#7A224B #AA2F69 #CD4987 #DA79A7 #E7A9C6

Accessibility & contrast

On white

4.29
#CD4987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CD4987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4987
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4987#FFFFFF#000000##000000
##CD49871.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6B89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DC3F62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4987;
/* rgb */ color: rgb(205, 73, 135);
/* oklch */ color: oklch(60.3% 0.177 354.7);
Tailwind
colors: {
  custom: {
    50: '#e084a9',
    500: '#cd4987',
    950: '#000000',
  },
}
SCSS
$custom: #cd4987;
$custom-light: #e084a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4987",
  "rgb": {
    "r": 205,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 331.818,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.17688,
    "h": 354.7
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

primary
#CD4987
secondary
#9DD5BB
accent
#E09948
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4987

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

Preview Lab → · Contrast checker → · Palette generator →

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