#CD54A5#CD54A5

#CD54A5 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.7% C 0.178 H 342.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CD54A5
RGBrgb(205, 84, 165)
HSLhsl(320, 55%, 57%)
HSVhsv(320, 59%, 80%)
CMYKcmyk(0%, 59%, 19.5%, 19.6%)
CIE-LABlab(54.07, 56.84, -19.99)
CIE-LCHlch(54.07, 60.25, 340.62°)
OKLaboklab(62.73% 0.1696 -0.0534)
OKLCHoklch(62.73% 0.178 342.5)
XYZxyz(35.1396, 22.0395, 37.9934)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A5 #54CD7C
analogous
#B954CD #CD54A5 #CD5469
triadic
#CD54A5 #A5CD54 #54A5CD
tetradic
#CD54A5 #CDB954 #54CD7C #5469CD
square
#CD54A5 #CDB954 #54CD7C #5469CD
split-complementary
#CD54A5 #69CD54 #54CDB9
monochromatic
#812663 #B03487 #CD54A5 #DB83BE #E9B3D7

Accessibility & contrast

On white

3.88
#CD54A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CD54A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A5#FFFFFF#000000##000000
##CD54A51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A8
Deuteranopia (green-blind)
#8089A2
Tritanopia (blue-blind)
#D95575
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a5;
/* rgb */ color: rgb(205, 84, 165);
/* oklch */ color: oklch(62.7% 0.178 342.5);
Tailwind
colors: {
  custom: {
    50: '#df8abf',
    500: '#cd54a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a5;
$custom-light: #df8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a5",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 319.835,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62729,
    "c": 0.17776,
    "h": 342.5
  },
  "luminance": 0.22036
}

Semantic roles & 50–950 ramp

primary
#CD54A5
secondary
#A6D7B6
accent
#DE7B4A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54A5

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

Preview Lab → · Contrast checker → · Palette generator →

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