#CD57A2#CD57A2

#CD57A2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.0% C 0.171 H 344.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CD57A2
RGBrgb(205, 87, 162)
HSLhsl(322, 54%, 57%)
HSVhsv(322, 58%, 80%)
CMYKcmyk(0%, 57.6%, 21%, 19.6%)
CIE-LABlab(54.46, 55.06, -17.65)
CIE-LCHlch(54.46, 57.82, 342.23°)
OKLaboklab(62.98% 0.1648 -0.0469)
OKLCHoklch(62.98% 0.171 344.1)
XYZxyz(35.1076, 22.4073, 36.6514)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57A2 #57CD82
analogous
#BD57CD #CD57A2 #CD5767
triadic
#CD57A2 #A2CD57 #57A2CD
tetradic
#CD57A2 #CDBD57 #57CD82 #5767CD
square
#CD57A2 #CDBD57 #57CD82 #5767CD
split-complementary
#CD57A2 #67CD57 #57CDBD
monochromatic
#832761 #B23584 #CD57A2 #DB86BC #E9B5D6

Accessibility & contrast

On white

3.83
#CD57A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CD57A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57A2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57A2#FFFFFF#000000##000000
##CD57A21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#828A9F
Tritanopia (blue-blind)
#D95675
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd57a2;
/* rgb */ color: rgb(205, 87, 162);
/* oklch */ color: oklch(63.0% 0.171 344.1);
Tailwind
colors: {
  custom: {
    50: '#df8cbd',
    500: '#cd57a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd57a2;
$custom-light: #df8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57a2",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 321.864,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.17131,
    "h": 344.1
  },
  "luminance": 0.22404
}

Semantic roles & 50–950 ramp

primary
#CD57A2
secondary
#A8D8B9
accent
#DD804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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