#CD56AB#CD56AB

#CD56AB is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.2% C 0.179 H 340.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD56AB
RGBrgb(205, 86, 171)
HSLhsl(317, 54%, 57%)
HSVhsv(317, 58%, 80%)
CMYKcmyk(0%, 58%, 16.6%, 19.6%)
CIE-LABlab(54.63, 56.82, -22.63)
CIE-LCHlch(54.63, 61.16, 338.29°)
OKLaboklab(63.22% 0.1682 -0.0608)
OKLCHoklch(63.22% 0.179 340.1)
XYZxyz(35.8560, 22.5780, 40.9897)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56AB #56CD78
analogous
#B456CD #CD56AB #CD5670
triadic
#CD56AB #ABCD56 #56ABCD
tetradic
#CD56AB #CDB456 #56CD78 #5670CD
square
#CD56AB #CDB456 #56CD78 #5670CD
split-complementary
#CD56AB #70CD56 #56CDB4
monochromatic
#822668 #B1348E #CD56AB #DB85C2 #E9B4DA

Accessibility & contrast

On white

3.81
#CD56AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD56AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56AB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56AB#FFFFFF#000000##000000
##CD56AB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd56ab;
/* rgb */ color: rgb(205, 86, 171);
/* oklch */ color: oklch(63.2% 0.179 340.1);
Tailwind
colors: {
  custom: {
    50: '#df8cc4',
    500: '#cd56ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd56ab;
$custom-light: #df8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56ab",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 317.143,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.17882,
    "h": 340.1
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#CD56AB
secondary
#A7D8B5
accent
#DE744A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD56AB

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

Preview Lab → · Contrast checker → · Palette generator →

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