#CD386E#CD386E

#CD386E is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.189 H 3.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD386E
RGBrgb(205, 56, 110)
HSLhsl(338, 60%, 51%)
HSVhsv(338, 73%, 80%)
CMYKcmyk(0%, 72.7%, 46.3%, 19.6%)
CIE-LABlab(48.18, 61.54, 4.09)
CIE-LCHlch(48.18, 61.67, 3.81°)
OKLaboklab(57.78% 0.1884 0.0112)
OKLCHoklch(57.78% 0.189 3.4)
XYZxyz(29.4079, 16.9371, 16.4694)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD386E #38CD97
analogous
#CD38B8 #CD386E #CD4C38
triadic
#CD386E #6ECD38 #386ECD
tetradic
#CD386E #B8CD38 #38CD97 #4C38CD
square
#CD386E #B8CD38 #38CD97 #4C38CD
split-complementary
#CD386E #38CD4C #38B8CD
monochromatic
#6F1C3A #A02853 #CD386E #D96992 #E69AB5

Accessibility & contrast

On white

4.79
#CD386E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CD386E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD386E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD386E#FFFFFF#000000##FFFFFF
##CD386E1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A606F
Deuteranopia (green-blind)
#827D6A
Tritanopia (blue-blind)
#DF1D4F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cd386e;
/* rgb */ color: rgb(205, 56, 110);
/* oklch */ color: oklch(57.8% 0.189 3.4);
Tailwind
colors: {
  custom: {
    50: '#e27b97',
    500: '#cd386e',
    950: '#000000',
  },
}
SCSS
$custom: #cd386e;
$custom-light: #e27b97;
$custom-dark: #000000;
JSON
{
  "hex": "#cd386e",
  "rgb": {
    "r": 205,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 338.255,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.18871,
    "h": 3.4
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#CD386E
secondary
#8FD1B9
accent
#E3AA45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CD386E

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

Preview Lab → · Contrast checker → · Palette generator →

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