#CD4C9E#CD4C9E

#CD4C9E is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.5% C 0.185 H 344.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD4C9E
RGBrgb(205, 76, 158)
HSLhsl(322, 56%, 55%)
HSVhsv(322, 63%, 80%)
CMYKcmyk(0%, 62.9%, 22.9%, 19.6%)
CIE-LABlab(52.53, 59.31, -18.24)
CIE-LCHlch(52.53, 62.05, 342.91°)
OKLaboklab(61.51% 0.1784 -0.0484)
OKLCHoklch(61.51% 0.185 344.8)
XYZxyz(33.9340, 20.6199, 34.5340)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C9E #4CCD7B
analogous
#BB4CCD #CD4C9E #CD4C5E
triadic
#CD4C9E #9ECD4C #4C9ECD
tetradic
#CD4C9E #CDBB4C #4CCD7B #4C5ECD
square
#CD4C9E #CDBB4C #4CCD7B #4C5ECD
split-complementary
#CD4C9E #5ECD4C #4CCDBB
monochromatic
#7C235B #AC307F #CD4C9E #DA7CB8 #E8ACD2

Accessibility & contrast

On white

4.10
#CD4C9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD4C9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C9E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C9E#FFFFFF#000000##000000
##CD4C9E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5970A0
Deuteranopia (green-blind)
#7E859B
Tritanopia (blue-blind)
#DA4B6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4c9e;
/* rgb */ color: rgb(205, 76, 158);
/* oklch */ color: oklch(61.5% 0.185 344.8);
Tailwind
colors: {
  custom: {
    50: '#e086ba',
    500: '#cd4c9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c9e;
$custom-light: #e086ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c9e",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 158
  },
  "hsl": {
    "h": 321.86,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.18488,
    "h": 344.8
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#CD4C9E
secondary
#9FD5B3
accent
#E07F48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD4C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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