#CD387E#CD387E

#CD387E is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.194 H 356.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CD387E
RGBrgb(205, 56, 126)
HSLhsl(332, 60%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 72.7%, 38.5%, 19.6%)
CIE-LABlab(48.66, 63.09, -4.95)
CIE-LCHlch(48.66, 63.28, 355.52°)
OKLaboklab(58.29% 0.1936 -0.0122)
OKLCHoklch(58.29% 0.194 356.4)
XYZxyz(30.3590, 17.3176, 21.4785)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD387E #38CD87
analogous
#CD38C8 #CD387E #CD3C38
triadic
#CD387E #7ECD38 #387ECD
tetradic
#CD387E #C8CD38 #38CD87 #3C38CD
square
#CD387E #C8CD38 #38CD87 #3C38CD
split-complementary
#CD387E #38CD3C #38C8CD
monochromatic
#6F1C43 #A02860 #CD387E #D9699E #E69ABD

Accessibility & contrast

On white

4.71
#CD387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CD387E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD387E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD387E#FFFFFF#000000##FFFFFF
##CD387E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556280
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#DD2656
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd387e;
/* rgb */ color: rgb(205, 56, 126);
/* oklch */ color: oklch(58.3% 0.194 356.4);
Tailwind
colors: {
  custom: {
    50: '#e17ba3',
    500: '#cd387e',
    950: '#000000',
  },
}
SCSS
$custom: #cd387e;
$custom-light: #e17ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd387e",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 331.812,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.19399,
    "h": 356.4
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#CD387E
secondary
#8FD1B2
accent
#E39945
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CD387E

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

Preview Lab → · Contrast checker → · Palette generator →

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