#CD4E9D#CD4E9D

#CD4E9D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.181 H 345.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CD4E9D
RGBrgb(205, 78, 157)
HSLhsl(323, 56%, 55%)
HSVhsv(323, 62%, 80%)
CMYKcmyk(0%, 62%, 23.4%, 19.6%)
CIE-LABlab(52.80, 58.33, -17.23)
CIE-LCHlch(52.80, 60.83, 343.54°)
OKLaboklab(61.7% 0.1756 -0.0457)
OKLCHoklch(61.7% 0.181 345.4)
XYZxyz(33.9882, 20.8655, 34.1292)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E9D #4ECD7E
analogous
#BD4ECD #CD4E9D #CD4E5D
triadic
#CD4E9D #9DCD4E #4E9DCD
tetradic
#CD4E9D #CDBD4E #4ECD7E #4E5DCD
square
#CD4E9D #CDBD4E #4ECD7E #4E5DCD
split-complementary
#CD4E9D #5DCD4E #4ECDBD
monochromatic
#7D235B #AD317E #CD4E9D #DA7EB7 #E8ADD2

Accessibility & contrast

On white

4.06
#CD4E9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CD4E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E9D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E9D#FFFFFF#000000##000000
##CD4E9D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#DA4C6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4e9d;
/* rgb */ color: rgb(205, 78, 157);
/* oklch */ color: oklch(61.7% 0.181 345.4);
Tailwind
colors: {
  custom: {
    50: '#e087ba',
    500: '#cd4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e9d;
$custom-light: #e087ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e9d",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 322.677,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.18145,
    "h": 345.4
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#CD4E9D
secondary
#A1D6B5
accent
#DF8249
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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