#CD3C8A#CD3C8A

#CD3C8A is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.195 H 351.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CD3C8A
RGBrgb(205, 60, 138)
HSLhsl(328, 59%, 52%)
HSVhsv(328, 71%, 80%)
CMYKcmyk(0%, 70.7%, 32.7%, 19.6%)
CIE-LABlab(49.56, 63.01, -10.85)
CIE-LCHlch(49.56, 63.94, 350.23°)
OKLaboklab(59.08% 0.1926 -0.028)
OKLCHoklch(59.08% 0.195 351.7)
XYZxyz(31.3819, 18.0494, 25.8711)
Luminance0.1805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3C8A #3CCD7F
analogous
#C83CCD #CD3C8A #CD3C42
triadic
#CD3C8A #8ACD3C #3C8ACD
tetradic
#CD3C8A #CDC83C #3CCD7F #3C42CD
square
#CD3C8A #CDC83C #3CCD7F #3C42CD
split-complementary
#CD3C8A #42CD3C #3CCDC8
monochromatic
#711D4B #A22A6A #CD3C8A #D96DA7 #E69DC4

Accessibility & contrast

On white

4.56
#CD3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CD3C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3C8A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3C8A#FFFFFF#000000##000000
##CD3C8A1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DC325E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd3c8a;
/* rgb */ color: rgb(205, 60, 138);
/* oklch */ color: oklch(59.1% 0.195 351.7);
Tailwind
colors: {
  custom: {
    50: '#e17dac',
    500: '#cd3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd3c8a;
$custom-light: #e17dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3c8a",
  "rgb": {
    "r": 205,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 327.724,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59082,
    "c": 0.19468,
    "h": 351.7
  },
  "luminance": 0.18046
}

Semantic roles & 50–950 ramp

primary
#CD3C8A
secondary
#93D2B0
accent
#E28E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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