#CD57B2#CD57B2

#CD57B2 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.6% C 0.182 H 337.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CD57B2
RGBrgb(205, 87, 178)
HSLhsl(314, 54%, 57%)
HSVhsv(314, 58%, 80%)
CMYKcmyk(0%, 57.6%, 13.2%, 19.6%)
CIE-LABlab(55.09, 57.43, -26.00)
CIE-LCHlch(55.09, 63.04, 335.64°)
OKLaboklab(63.65% 0.1683 -0.0703)
OKLCHoklch(63.65% 0.182 337.3)
XYZxyz(36.6213, 23.0128, 44.6240)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57B2 #57CD72
analogous
#AD57CD #CD57B2 #CD5777
triadic
#CD57B2 #B2CD57 #57B2CD
tetradic
#CD57B2 #CDAD57 #57CD72 #5777CD
square
#CD57B2 #CDAD57 #57CD72 #5777CD
split-complementary
#CD57B2 #77CD57 #57CDAD
monochromatic
#83276E #B23595 #CD57B2 #DB86C8 #E9B5DD

Accessibility & contrast

On white

3.75
#CD57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CD57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57B2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57B2#FFFFFF#000000##000000
##CD57B21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#7D8BAF
Tritanopia (blue-blind)
#D75C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd57b2;
/* rgb */ color: rgb(205, 87, 178);
/* oklch */ color: oklch(63.6% 0.182 337.3);
Tailwind
colors: {
  custom: {
    50: '#df8cc9',
    500: '#cd57b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd57b2;
$custom-light: #df8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57b2",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 313.729,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.18234,
    "h": 337.3
  },
  "luminance": 0.2301
}

Semantic roles & 50–950 ramp

primary
#CD57B2
secondary
#A8D8B3
accent
#DD6C4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160D13
muted
#847D82

Preview Lab

Preview with #CD57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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