#CD5A7C#CD5A7C

#CD5A7C is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.1% C 0.149 H 3.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5A7C
RGBrgb(205, 90, 124)
HSLhsl(342, 53%, 58%)
HSVhsv(342, 56%, 80%)
CMYKcmyk(0%, 56.1%, 39.5%, 19.6%)
CIE-LABlab(53.76, 48.85, 3.72)
CIE-LCHlch(53.76, 48.99, 4.35°)
OKLaboklab(62.06% 0.1488 0.0102)
OKLCHoklch(62.06% 0.149 3.9)
XYZxyz(32.4730, 21.7502, 21.5529)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A7C #5ACDAB
analogous
#CD5AB5 #CD5A7C #CD725A
triadic
#CD5A7C #7CCD5A #5A7CCD
tetradic
#CD5A7C #B5CD5A #5ACDAB #725ACD
square
#CD5A7C #B5CD5A #5ACDAB #725ACD
split-complementary
#CD5A7C #5ACD72 #5AB5CD
monochromatic
#842843 #B3365B #CD5A7C #DB89A1 #E9B8C7

Accessibility & contrast

On white

3.93
#CD5A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CD5A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A7C
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A7C#FFFFFF#000000##000000
##CD5A7C1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F737D
Deuteranopia (green-blind)
#8D8979
Tritanopia (blue-blind)
#DD4E67
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5a7c;
/* rgb */ color: rgb(205, 90, 124);
/* oklch */ color: oklch(62.1% 0.149 3.9);
Tailwind
colors: {
  custom: {
    50: '#e08da1',
    500: '#cd5a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a7c;
$custom-light: #e08da1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a7c",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 124
  },
  "hsl": {
    "h": 342.261,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.1491,
    "h": 3.9
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#CD5A7C
secondary
#AAD8CB
accent
#DDB24B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD5A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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