#CD4E9F#CD4E9F

#CD4E9F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.183 H 344.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CD4E9F
RGBrgb(205, 78, 159)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62%, 22.4%, 19.6%)
CIE-LABlab(52.88, 58.61, -18.30)
CIE-LCHlch(52.88, 61.40, 342.66°)
OKLaboklab(61.78% 0.1761 -0.0486)
OKLCHoklch(61.78% 0.183 344.6)
XYZxyz(34.1603, 20.9343, 35.0358)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E9F #4ECD7C
analogous
#BB4ECD #CD4E9F #CD4E60
triadic
#CD4E9F #9FCD4E #4E9FCD
tetradic
#CD4E9F #CDBB4E #4ECD7C #4E60CD
square
#CD4E9F #CDBB4E #4ECD7C #4E60CD
split-complementary
#CD4E9F #60CD4E #4ECDBB
monochromatic
#7D235D #AD3180 #CD4E9F #DA7EB9 #E8ADD3

Accessibility & contrast

On white

4.05
#CD4E9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CD4E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E9F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E9F#FFFFFF#000000##000000
##CD4E9F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A71A1
Deuteranopia (green-blind)
#7F869C
Tritanopia (blue-blind)
#DA4D70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd4e9f;
/* rgb */ color: rgb(205, 78, 159);
/* oklch */ color: oklch(61.8% 0.183 344.6);
Tailwind
colors: {
  custom: {
    50: '#e087bb',
    500: '#cd4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e9f;
$custom-light: #e087bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e9f",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 321.732,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.18267,
    "h": 344.6
  },
  "luminance": 0.20931
}

Semantic roles & 50–950 ramp

primary
#CD4E9F
secondary
#A1D6B4
accent
#DF7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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