#CD57A7#CD57A7

#CD57A7 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.2% C 0.175 H 341.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD57A7
RGBrgb(205, 87, 167)
HSLhsl(319, 54%, 57%)
HSVhsv(319, 58%, 80%)
CMYKcmyk(0%, 57.6%, 18.5%, 19.6%)
CIE-LABlab(54.65, 55.78, -20.28)
CIE-LCHlch(54.65, 59.35, 340.02°)
OKLaboklab(63.18% 0.1659 -0.0542)
OKLCHoklch(63.18% 0.175 341.9)
XYZxyz(35.5609, 22.5886, 39.0389)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57A7 #57CD7D
analogous
#B857CD #CD57A7 #CD576C
triadic
#CD57A7 #A7CD57 #57A7CD
tetradic
#CD57A7 #CDB857 #57CD7D #576CCD
square
#CD57A7 #CDB857 #57CD7D #576CCD
split-complementary
#CD57A7 #6CCD57 #57CDB8
monochromatic
#832765 #B2358A #CD57A7 #DB86C0 #E9B5D8

Accessibility & contrast

On white

3.81
#CD57A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD57A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57A7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57A7#FFFFFF#000000##000000
##CD57A71.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AA
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#D85878
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd57a7;
/* rgb */ color: rgb(205, 87, 167);
/* oklch */ color: oklch(63.2% 0.175 341.9);
Tailwind
colors: {
  custom: {
    50: '#df8cc1',
    500: '#cd57a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd57a7;
$custom-light: #df8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57a7",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 319.322,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63181,
    "c": 0.17458,
    "h": 341.9
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#CD57A7
secondary
#A8D8B7
accent
#DD7A4A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD57A7

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

Preview Lab → · Contrast checker → · Palette generator →

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