#CD54AC#CD54AC

#CD54AC is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.183 H 339.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CD54AC
RGBrgb(205, 84, 172)
HSLhsl(316, 55%, 57%)
HSVhsv(316, 59%, 80%)
CMYKcmyk(0%, 59%, 16.1%, 19.6%)
CIE-LABlab(54.35, 57.86, -23.65)
CIE-LCHlch(54.35, 62.51, 337.76°)
OKLaboklab(63.02% 0.1711 -0.0636)
OKLCHoklch(63.02% 0.183 339.6)
XYZxyz(35.7942, 22.3013, 41.4411)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54AC #54CD75
analogous
#B254CD #CD54AC #CD5470
triadic
#CD54AC #ACCD54 #54ACCD
tetradic
#CD54AC #CDB254 #54CD75 #5470CD
square
#CD54AC #CDB254 #54CD75 #5470CD
split-complementary
#CD54AC #70CD54 #54CDB2
monochromatic
#812668 #B0348E #CD54AC #DB83C3 #E9B3DA

Accessibility & contrast

On white

3.85
#CD54AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CD54AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54AC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54AC#FFFFFF#000000##000000
##CD54AC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AF
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#D85779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd54ac;
/* rgb */ color: rgb(205, 84, 172);
/* oklch */ color: oklch(63.0% 0.183 339.6);
Tailwind
colors: {
  custom: {
    50: '#df8ac5',
    500: '#cd54ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ac;
$custom-light: #df8ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ac",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 316.364,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.18251,
    "h": 339.6
  },
  "luminance": 0.22298
}

Semantic roles & 50–950 ramp

primary
#CD54AC
secondary
#A6D7B3
accent
#DE724A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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