#CD3986#CD3986

#CD3986 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.7% C 0.196 H 353.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD3986
RGBrgb(205, 57, 134)
HSLhsl(329, 60%, 51%)
HSVhsv(329, 72%, 80%)
CMYKcmyk(0%, 72.2%, 34.6%, 19.6%)
CIE-LABlab(49.04, 63.61, -9.21)
CIE-LCHlch(49.04, 64.27, 351.76°)
OKLaboklab(58.66% 0.1949 -0.0236)
OKLCHoklch(58.66% 0.196 353.1)
XYZxyz(30.9449, 17.6303, 24.3230)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3986 #39CD80
analogous
#CA39CD #CD3986 #CD393C
triadic
#CD3986 #86CD39 #3986CD
tetradic
#CD3986 #CDCA39 #39CD80 #393CCD
square
#CD3986 #CDCA39 #39CD80 #393CCD
split-complementary
#CD3986 #3CCD39 #39CDCA
monochromatic
#6F1C47 #A02867 #CD3986 #D96AA4 #E69BC2

Accessibility & contrast

On white

4.64
#CD3986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CD3986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CD3986
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3986#FFFFFF#000000##FFFFFF
##CD39861.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536388
Deuteranopia (green-blind)
#7D7E83
Tritanopia (blue-blind)
#DD2C5B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cd3986;
/* rgb */ color: rgb(205, 57, 134);
/* oklch */ color: oklch(58.7% 0.196 353.1);
Tailwind
colors: {
  custom: {
    50: '#e17ca9',
    500: '#cd3986',
    950: '#000000',
  },
}
SCSS
$custom: #cd3986;
$custom-light: #e17ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3986",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 328.784,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.19627,
    "h": 353.1
  },
  "luminance": 0.17627
}

Semantic roles & 50–950 ramp

primary
#CD3986
secondary
#90D2B0
accent
#E39145
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CD3986

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

Preview Lab → · Contrast checker → · Palette generator →

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