#CD4887#CD4887

#CD4887 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.178 H 354.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CD4887
RGBrgb(205, 72, 135)
HSLhsl(332, 57%, 54%)
HSVhsv(332, 65%, 80%)
CMYKcmyk(0%, 64.9%, 34.1%, 19.6%)
CIE-LABlab(51.11, 58.08, -6.72)
CIE-LCHlch(51.11, 58.47, 353.40°)
OKLaboklab(60.2% 0.1774 -0.017)
OKLCHoklch(60.2% 0.178 354.5)
XYZxyz(31.8692, 19.3667, 24.9768)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4887 #48CD8E
analogous
#CD48CA #CD4887 #CD4C48
triadic
#CD4887 #87CD48 #4887CD
tetradic
#CD4887 #CACD48 #48CD8E #4C48CD
square
#CD4887 #CACD48 #48CD8E #4C48CD
split-complementary
#CD4887 #48CD4C #48CACD
monochromatic
#79214B #A92E69 #CD4887 #DA78A7 #E7A8C6

Accessibility & contrast

On white

4.31
#CD4887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CD4887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4887
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4887#FFFFFF#000000##000000
##CD48871.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6A89
Deuteranopia (green-blind)
#828384
Tritanopia (blue-blind)
#DC3E62
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd4887;
/* rgb */ color: rgb(205, 72, 135);
/* oklch */ color: oklch(60.2% 0.178 354.5);
Tailwind
colors: {
  custom: {
    50: '#e083a9',
    500: '#cd4887',
    950: '#000000',
  },
}
SCSS
$custom: #cd4887;
$custom-light: #e083a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4887",
  "rgb": {
    "r": 205,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 331.579,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.17821,
    "h": 354.5
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#CD4887
secondary
#9CD5BA
accent
#E09847
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4887

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

Preview Lab → · Contrast checker → · Palette generator →

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