#CD3C9E#CD3C9E

#CD3C9E is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.206 H 343.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CD3C9E
RGBrgb(205, 60, 158)
HSLhsl(319, 59%, 52%)
HSVhsv(319, 71%, 80%)
CMYKcmyk(0%, 70.7%, 22.9%, 19.6%)
CIE-LABlab(50.31, 65.46, -21.63)
CIE-LCHlch(50.31, 68.94, 341.71°)
OKLaboklab(59.88% 0.1972 -0.0578)
OKLCHoklch(59.88% 0.206 343.7)
XYZxyz(32.9654, 18.6829, 34.2112)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3C9E #3CCD6B
analogous
#B33CCD #CD3C9E #CD3C56
triadic
#CD3C9E #9ECD3C #3C9ECD
tetradic
#CD3C9E #CDB33C #3CCD6B #3C56CD
square
#CD3C9E #CDB33C #3CCD6B #3C56CD
split-complementary
#CD3C9E #56CD3C #3CCDB3
monochromatic
#711D56 #A22A7B #CD3C9E #D96DB6 #E69DCE

Accessibility & contrast

On white

4.43
#CD3C9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CD3C9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3C9E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3C9E#FFFFFF#000000##000000
##CD3C9E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B68A1
Deuteranopia (green-blind)
#77809B
Tritanopia (blue-blind)
#DA3C68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd3c9e;
/* rgb */ color: rgb(205, 60, 158);
/* oklch */ color: oklch(59.9% 0.206 343.7);
Tailwind
colors: {
  custom: {
    50: '#e07eba',
    500: '#cd3c9e',
    950: '#000000',
  },
}
SCSS
$custom: #cd3c9e;
$custom-light: #e07eba;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3c9e",
  "rgb": {
    "r": 205,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 319.448,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59884,
    "c": 0.20552,
    "h": 343.7
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#CD3C9E
secondary
#93D2A7
accent
#E27845
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CD3C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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