#CD397A#CD397A

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

Color values

HEX#CD397A
RGBrgb(205, 57, 122)
HSLhsl(334, 60%, 51%)
HSVhsv(334, 72%, 80%)
CMYKcmyk(0%, 72.2%, 40.5%, 19.6%)
CIE-LABlab(48.65, 62.34, -2.52)
CIE-LCHlch(48.65, 62.39, 357.68°)
OKLaboklab(58.25% 0.1913 -0.0058)
OKLCHoklch(58.25% 0.191 358.2)
XYZxyz(30.1549, 17.3143, 20.1626)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD397A #39CD8C
analogous
#CD39C4 #CD397A #CD4239
triadic
#CD397A #7ACD39 #397ACD
tetradic
#CD397A #C4CD39 #39CD8C #4239CD
square
#CD397A #C4CD39 #39CD8C #4239CD
split-complementary
#CD397A #39CD42 #39C4CD
monochromatic
#6F1C41 #A0285D #CD397A #D96A9B #E69BBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD397A#FFFFFF#000000##FFFFFF
##CD397A1.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)
#57627C
Deuteranopia (green-blind)
#807E77
Tritanopia (blue-blind)
#DE2655
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd397a;
/* rgb */ color: rgb(205, 57, 122);
/* oklch */ color: oklch(58.2% 0.191 358.2);
Tailwind
colors: {
  custom: {
    50: '#e17ba0',
    500: '#cd397a',
    950: '#000000',
  },
}
SCSS
$custom: #cd397a;
$custom-light: #e17ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd397a",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 333.649,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.19138,
    "h": 358.2
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#CD397A
secondary
#90D2B5
accent
#E39E45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CD397A

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

Preview Lab → · Contrast checker → · Palette generator →

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