#CD57AB#CD57AB

#CD57AB is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.177 H 340.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CD57AB
RGBrgb(205, 87, 171)
HSLhsl(317, 54%, 57%)
HSVhsv(317, 58%, 80%)
CMYKcmyk(0%, 57.6%, 16.6%, 19.6%)
CIE-LABlab(54.80, 56.37, -22.37)
CIE-LCHlch(54.80, 60.64, 338.35°)
OKLaboklab(63.35% 0.1668 -0.0601)
OKLCHoklch(63.35% 0.177 340.2)
XYZxyz(35.9364, 22.7388, 41.0165)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD57AB #57CD79
analogous
#B457CD #CD57AB #CD5770
triadic
#CD57AB #ABCD57 #57ABCD
tetradic
#CD57AB #CDB457 #57CD79 #5770CD
square
#CD57AB #CDB457 #57CD79 #5770CD
split-complementary
#CD57AB #70CD57 #57CDB4
monochromatic
#832768 #B2358E #CD57AB #DB86C3 #E9B5DA

Accessibility & contrast

On white

3.79
#CD57AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD57AB#FFFFFF#000000##000000
##CD57AB1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AE
Deuteranopia (green-blind)
#7F8AA8
Tritanopia (blue-blind)
#D85979
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd57ab;
/* rgb */ color: rgb(205, 87, 171);
/* oklch */ color: oklch(63.3% 0.177 340.2);
Tailwind
colors: {
  custom: {
    50: '#df8cc4',
    500: '#cd57ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd57ab;
$custom-light: #df8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd57ab",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 317.288,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63347,
    "c": 0.17732,
    "h": 340.2
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#CD57AB
secondary
#A8D8B6
accent
#DD754A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD57AB

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

Preview Lab → · Contrast checker → · Palette generator →

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