#CD4D9E#CD4D9E

#CD4D9E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.183 H 344.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD4D9E
RGBrgb(205, 77, 158)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 62%, 80%)
CMYKcmyk(0%, 62.4%, 22.9%, 19.6%)
CIE-LABlab(52.68, 58.89, -18.00)
CIE-LCHlch(52.68, 61.58, 343.00°)
OKLaboklab(61.62% 0.1771 -0.0478)
OKLCHoklch(61.62% 0.183 344.9)
XYZxyz(34.0034, 20.7588, 34.5572)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D9E #4DCD7C
analogous
#BC4DCD #CD4D9E #CD4D5E
triadic
#CD4D9E #9ECD4D #4D9ECD
tetradic
#CD4D9E #CDBC4D #4DCD7C #4D5ECD
square
#CD4D9E #CDBC4D #4DCD7C #4D5ECD
split-complementary
#CD4D9E #5ECD4D #4DCDBC
monochromatic
#7D235C #AC307F #CD4D9E #DA7DB8 #E8ADD2

Accessibility & contrast

On white

4.08
#CD4D9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD4D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D9E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D9E#FFFFFF#000000##000000
##CD4D9E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4d9e;
/* rgb */ color: rgb(205, 77, 158);
/* oklch */ color: oklch(61.6% 0.183 344.9);
Tailwind
colors: {
  custom: {
    50: '#e086ba',
    500: '#cd4d9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d9e;
$custom-light: #e086ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d9e",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 158
  },
  "hsl": {
    "h": 322.031,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.18347,
    "h": 344.9
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#CD4D9E
secondary
#A0D6B4
accent
#DF8048
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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