#CD4D9C#CD4D9C

#CD4D9C is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.182 H 345.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD4D9C
RGBrgb(205, 77, 156)
HSLhsl(323, 56%, 55%)
HSVhsv(323, 62%, 80%)
CMYKcmyk(0%, 62.4%, 23.9%, 19.6%)
CIE-LABlab(52.61, 58.62, -16.94)
CIE-LCHlch(52.61, 61.02, 343.88°)
OKLaboklab(61.54% 0.1767 -0.0448)
OKLCHoklch(61.54% 0.182 345.8)
XYZxyz(33.8327, 20.6905, 33.6579)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D9C #4DCD7E
analogous
#BE4DCD #CD4D9C #CD4D5C
triadic
#CD4D9C #9CCD4D #4D9CCD
tetradic
#CD4D9C #CDBE4D #4DCD7E #4D5CCD
square
#CD4D9C #CDBE4D #4DCD7E #4D5CCD
split-complementary
#CD4D9C #5CCD4D #4DCDBE
monochromatic
#7D235A #AC307D #CD4D9C #DA7DB7 #E8ADD1

Accessibility & contrast

On white

4.09
#CD4D9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD4D9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D9C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D9C#FFFFFF#000000##000000
##CD4D9C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A709E
Deuteranopia (green-blind)
#7F8699
Tritanopia (blue-blind)
#DA4B6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4d9c;
/* rgb */ color: rgb(205, 77, 156);
/* oklch */ color: oklch(61.5% 0.182 345.8);
Tailwind
colors: {
  custom: {
    50: '#e086b9',
    500: '#cd4d9c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d9c;
$custom-light: #e086b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d9c",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 156
  },
  "hsl": {
    "h": 322.969,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.18226,
    "h": 345.8
  },
  "luminance": 0.20687
}

Semantic roles & 50–950 ramp

primary
#CD4D9C
secondary
#A0D6B5
accent
#DF8248
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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