#CD57B7#CD57B7

#CD57B7 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.9% C 0.186 H 335.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD57B7
RGBrgb(205, 87, 183)
HSLhsl(311, 54%, 57%)
HSVhsv(311, 58%, 80%)
CMYKcmyk(0%, 57.6%, 10.7%, 19.6%)
CIE-LABlab(55.30, 58.21, -28.57)
CIE-LCHlch(55.30, 64.84, 333.86°)
OKLaboklab(63.87% 0.1692 -0.0775)
OKLCHoklch(63.87% 0.186 335.4)
XYZxyz(37.1325, 23.2172, 47.3162)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57B7 #57CD6D
analogous
#A857CD #CD57B7 #CD577C
triadic
#CD57B7 #B7CD57 #57B7CD
tetradic
#CD57B7 #CDA857 #57CD6D #577CCD
square
#CD57B7 #CDA857 #57CD6D #577CCD
split-complementary
#CD57B7 #7CCD57 #57CDA8
monochromatic
#832772 #B2359B #CD57B7 #DB86CB #E9B5DF

Accessibility & contrast

On white

3.72
#CD57B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD57B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD57B7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD57B7#FFFFFF#000000##000000
##CD57B71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5779BA
Deuteranopia (green-blind)
#7B8BB4
Tritanopia (blue-blind)
#D65E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd57b7;
/* rgb */ color: rgb(205, 87, 183);
/* oklch */ color: oklch(63.9% 0.186 335.4);
Tailwind
colors: {
  custom: {
    50: '#df8ccd',
    500: '#cd57b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd57b7;
$custom-light: #df8ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57b7",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 311.186,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63872,
    "c": 0.18609,
    "h": 335.4
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#CD57B7
secondary
#A8D8B1
accent
#DD664A
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D13
muted
#847D82

Preview Lab

Preview with #CD57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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