#CD4D8C#CD4D8C

#CD4D8C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.174 H 353.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD4D8C
RGBrgb(205, 77, 140)
HSLhsl(330, 56%, 55%)
HSVhsv(330, 62%, 80%)
CMYKcmyk(0%, 62.4%, 31.7%, 19.6%)
CIE-LABlab(52.04, 56.58, -8.31)
CIE-LCHlch(52.04, 57.19, 351.64°)
OKLaboklab(60.94% 0.1724 -0.0213)
OKLCHoklch(60.94% 0.174 353)
XYZxyz(32.5660, 20.1838, 26.9867)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D8C #4DCD8E
analogous
#CD4DCC #CD4D8C #CD4E4D
triadic
#CD4D8C #8CCD4D #4D8CCD
tetradic
#CD4D8C #CCCD4D #4DCD8E #4E4DCD
square
#CD4D8C #CCCD4D #4DCD8E #4E4DCD
split-complementary
#CD4D8C #4DCD4E #4DCCCD
monochromatic
#7D234F #AC306D #CD4D8C #DA7DAB #E8ADCA

Accessibility & contrast

On white

4.17
#CD4D8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD4D8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D8C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D8C#FFFFFF#000000##000000
##CD4D8C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#838589
Tritanopia (blue-blind)
#DC4566
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d8c;
/* rgb */ color: rgb(205, 77, 140);
/* oklch */ color: oklch(60.9% 0.174 353.0);
Tailwind
colors: {
  custom: {
    50: '#e086ad',
    500: '#cd4d8c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d8c;
$custom-light: #e086ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d8c",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 140
  },
  "hsl": {
    "h": 330.469,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.17368,
    "h": 353
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#CD4D8C
secondary
#A0D6BB
accent
#DF9548
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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