#CD397C#CD397C

#CD397C is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.3% C 0.192 H 357.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CD397C
RGBrgb(205, 57, 124)
HSLhsl(333, 60%, 51%)
HSVhsv(333, 72%, 80%)
CMYKcmyk(0%, 72.2%, 39.5%, 19.6%)
CIE-LABlab(48.72, 62.54, -3.65)
CIE-LCHlch(48.72, 62.65, 356.66°)
OKLaboklab(58.31% 0.1919 -0.0088)
OKLCHoklch(58.31% 0.192 357.4)
XYZxyz(30.2801, 17.3644, 20.8220)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD397C #39CD8A
analogous
#CD39C6 #CD397C #CD4039
triadic
#CD397C #7CCD39 #397CCD
tetradic
#CD397C #C6CD39 #39CD8A #4039CD
square
#CD397C #C6CD39 #39CD8A #4039CD
split-complementary
#CD397C #39CD40 #39C6CD
monochromatic
#6F1C42 #A0285F #CD397C #D96A9C #E69BBD

Accessibility & contrast

On white

4.70
#CD397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CD397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CD397C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD397C#FFFFFF#000000##FFFFFF
##CD397C1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57627E
Deuteranopia (green-blind)
#7F7E79
Tritanopia (blue-blind)
#DE2756
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cd397c;
/* rgb */ color: rgb(205, 57, 124);
/* oklch */ color: oklch(58.3% 0.192 357.4);
Tailwind
colors: {
  custom: {
    50: '#e17ba1',
    500: '#cd397c',
    950: '#000000',
  },
}
SCSS
$custom: #cd397c;
$custom-light: #e17ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd397c",
  "rgb": {
    "r": 205,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 332.838,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.19211,
    "h": 357.4
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#CD397C
secondary
#90D2B4
accent
#E39B45
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CD397C

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

Preview Lab → · Contrast checker → · Palette generator →

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