#CD57AC#CD57AC

#CD57AC is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.4% C 0.178 H 339.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CD57AC
RGBrgb(205, 87, 172)
HSLhsl(317, 54%, 57%)
HSVhsv(317, 58%, 80%)
CMYKcmyk(0%, 57.6%, 16.1%, 19.6%)
CIE-LABlab(54.84, 56.52, -22.89)
CIE-LCHlch(54.84, 60.98, 337.95°)
OKLaboklab(63.39% 0.1671 -0.0615)
OKLCHoklch(63.39% 0.178 339.8)
XYZxyz(36.0321, 22.7770, 41.5204)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57AC #57CD78
analogous
#B357CD #CD57AC #CD5771
triadic
#CD57AC #ACCD57 #57ACCD
tetradic
#CD57AC #CDB357 #57CD78 #5771CD
square
#CD57AC #CDB357 #57CD78 #5771CD
split-complementary
#CD57AC #71CD57 #57CDB3
monochromatic
#832769 #B2358F #CD57AC #DB86C3 #E9B5DB

Accessibility & contrast

On white

3.78
#CD57AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CD57AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57AC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57AC#FFFFFF#000000##000000
##CD57AC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AF
Deuteranopia (green-blind)
#7F8AA9
Tritanopia (blue-blind)
#D85A7A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd57ac;
/* rgb */ color: rgb(205, 87, 172);
/* oklch */ color: oklch(63.4% 0.178 339.8);
Tailwind
colors: {
  custom: {
    50: '#df8cc5',
    500: '#cd57ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ac;
$custom-light: #df8cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ac",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 316.78,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6339,
    "c": 0.17802,
    "h": 339.8
  },
  "luminance": 0.22774
}

Semantic roles & 50–950 ramp

primary
#CD57AC
secondary
#A8D8B5
accent
#DD734A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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