#CD387D#CD387D

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

Color values

HEX#CD387D
RGBrgb(205, 56, 125)
HSLhsl(332, 60%, 51%)
HSVhsv(332, 73%, 80%)
CMYKcmyk(0%, 72.7%, 39%, 19.6%)
CIE-LABlab(48.63, 62.98, -4.39)
CIE-LCHlch(48.63, 63.14, 356.02°)
OKLaboklab(58.26% 0.1933 -0.0107)
OKLCHoklch(58.26% 0.194 356.8)
XYZxyz(30.2947, 17.2919, 21.1404)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD387D #38CD88
analogous
#CD38C7 #CD387D #CD3D38
triadic
#CD387D #7DCD38 #387DCD
tetradic
#CD387D #C7CD38 #38CD88 #3D38CD
square
#CD387D #C7CD38 #38CD88 #3D38CD
split-complementary
#CD387D #38CD3D #38C7CD
monochromatic
#6F1C42 #A0285F #CD387D #D9699D #E69ABD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD387D#FFFFFF#000000##FFFFFF
##CD387D1.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)
#56627F
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#DE2656
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cd387d;
/* rgb */ color: rgb(205, 56, 125);
/* oklch */ color: oklch(58.3% 0.194 356.8);
Tailwind
colors: {
  custom: {
    50: '#e17ba2',
    500: '#cd387d',
    950: '#000000',
  },
}
SCSS
$custom: #cd387d;
$custom-light: #e17ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd387d",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 332.215,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58257,
    "c": 0.19361,
    "h": 356.8
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#CD387D
secondary
#8FD1B3
accent
#E39A45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CD387D

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

Preview Lab → · Contrast checker → · Palette generator →

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