#CD4D9F#CD4D9F

#CD4D9F is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.7% C 0.184 H 344.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD4D9F
RGBrgb(205, 77, 159)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62.4%, 22.4%, 19.6%)
CIE-LABlab(52.72, 59.03, -18.53)
CIE-LCHlch(52.72, 61.87, 342.57°)
OKLaboklab(61.66% 0.1774 -0.0493)
OKLCHoklch(61.66% 0.184 344.5)
XYZxyz(34.0898, 20.7933, 35.0123)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D9F #4DCD7B
analogous
#BB4DCD #CD4D9F #CD4D5F
triadic
#CD4D9F #9FCD4D #4D9FCD
tetradic
#CD4D9F #CDBB4D #4DCD7B #4D5FCD
square
#CD4D9F #CDBB4D #4DCD7B #4D5FCD
split-complementary
#CD4D9F #5FCD4D #4DCDBB
monochromatic
#7D235C #AC3080 #CD4D9F #DA7DB9 #E8ADD3

Accessibility & contrast

On white

4.07
#CD4D9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD4D9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D9F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D9F#FFFFFF#000000##000000
##CD4D9F1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5970A1
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#DA4C6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4d9f;
/* rgb */ color: rgb(205, 77, 159);
/* oklch */ color: oklch(61.7% 0.184 344.5);
Tailwind
colors: {
  custom: {
    50: '#e086bb',
    500: '#cd4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d9f;
$custom-light: #e086bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d9f",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 321.563,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.18408,
    "h": 344.5
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#CD4D9F
secondary
#A0D6B3
accent
#DF7F48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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