#CD4787#CD4787

#CD4787 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.180 H 354.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CD4787
RGBrgb(205, 71, 135)
HSLhsl(331, 57%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65.4%, 34.1%, 19.6%)
CIE-LABlab(50.97, 58.49, -6.94)
CIE-LCHlch(50.97, 58.90, 353.23°)
OKLaboklab(60.09% 0.1787 -0.0176)
OKLCHoklch(60.09% 0.18 354.4)
XYZxyz(31.8050, 19.2384, 24.9554)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4787 #47CD8D
analogous
#CD47CA #CD4787 #CD4A47
triadic
#CD4787 #87CD47 #4787CD
tetradic
#CD4787 #CACD47 #47CD8D #4A47CD
square
#CD4787 #CACD47 #47CD8D #4A47CD
split-complementary
#CD4787 #47CD4A #47CACD
monochromatic
#79214B #A92E69 #CD4787 #DA77A6 #E7A7C6

Accessibility & contrast

On white

4.33
#CD4787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CD4787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4787
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4787#FFFFFF#000000##000000
##CD47871.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A89
Deuteranopia (green-blind)
#828284
Tritanopia (blue-blind)
#DC3D61
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd4787;
/* rgb */ color: rgb(205, 71, 135);
/* oklch */ color: oklch(60.1% 0.180 354.4);
Tailwind
colors: {
  custom: {
    50: '#e082a9',
    500: '#cd4787',
    950: '#000000',
  },
}
SCSS
$custom: #cd4787;
$custom-light: #e082a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4787",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 331.343,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.17954,
    "h": 354.4
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#CD4787
secondary
#9BD4B9
accent
#E19747
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD4787

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

Preview Lab → · Contrast checker → · Palette generator →

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