#CD386B#CD386B

#CD386B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.7% C 0.188 H 4.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CD386B
RGBrgb(205, 56, 107)
HSLhsl(339, 60%, 51%)
HSVhsv(339, 73%, 80%)
CMYKcmyk(0%, 72.7%, 47.8%, 19.6%)
CIE-LABlab(48.10, 61.27, 5.81)
CIE-LCHlch(48.10, 61.55, 5.42°)
OKLaboklab(57.7% 0.1873 0.0155)
OKLCHoklch(57.7% 0.188 4.7)
XYZxyz(29.2473, 16.8729, 15.6237)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD386B #38CD9A
analogous
#CD38B5 #CD386B #CD4F38
triadic
#CD386B #6BCD38 #386BCD
tetradic
#CD386B #B5CD38 #38CD9A #4F38CD
square
#CD386B #B5CD38 #38CD9A #4F38CD
split-complementary
#CD386B #38CD4F #38B5CD
monochromatic
#6F1C38 #A02851 #CD386B #D9698F #E69AB4

Accessibility & contrast

On white

4.80
#CD386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CD386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD386B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD386B#FFFFFF#000000##FFFFFF
##CD386B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5F6C
Deuteranopia (green-blind)
#827D67
Tritanopia (blue-blind)
#DF1A4D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd386b;
/* rgb */ color: rgb(205, 56, 107);
/* oklch */ color: oklch(57.7% 0.188 4.7);
Tailwind
colors: {
  custom: {
    50: '#e27a95',
    500: '#cd386b',
    950: '#000000',
  },
}
SCSS
$custom: #cd386b;
$custom-light: #e27a95;
$custom-dark: #000000;
JSON
{
  "hex": "#cd386b",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 339.463,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57697,
    "c": 0.18796,
    "h": 4.7
  },
  "luminance": 0.16869
}

Semantic roles & 50–950 ramp

primary
#CD386B
secondary
#8FD1BB
accent
#E3AD45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #CD386B

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

Preview Lab → · Contrast checker → · Palette generator →

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