#CD54A8#CD54A8

#CD54A8 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.180 H 341.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CD54A8
RGBrgb(205, 84, 168)
HSLhsl(318, 55%, 57%)
HSVhsv(318, 59%, 80%)
CMYKcmyk(0%, 59%, 18%, 19.6%)
CIE-LABlab(54.19, 57.27, -21.57)
CIE-LCHlch(54.19, 61.20, 339.36°)
OKLaboklab(62.85% 0.1702 -0.0578)
OKLCHoklch(62.85% 0.18 341.2)
XYZxyz(35.4158, 22.1500, 39.4483)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A8 #54CD79
analogous
#B654CD #CD54A8 #CD546C
triadic
#CD54A8 #A8CD54 #54A8CD
tetradic
#CD54A8 #CDB654 #54CD79 #546CCD
square
#CD54A8 #CDB654 #54CD79 #546CCD
split-complementary
#CD54A8 #6CCD54 #54CDB6
monochromatic
#812665 #B0348A #CD54A8 #DB83C0 #E9B3D8

Accessibility & contrast

On white

3.87
#CD54A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CD54A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A8#FFFFFF#000000##000000
##CD54A81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AB
Deuteranopia (green-blind)
#7F89A5
Tritanopia (blue-blind)
#D85677
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd54a8;
/* rgb */ color: rgb(205, 84, 168);
/* oklch */ color: oklch(62.9% 0.180 341.2);
Tailwind
colors: {
  custom: {
    50: '#df8ac2',
    500: '#cd54a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a8;
$custom-light: #df8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a8",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 318.347,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.17976,
    "h": 341.2
  },
  "luminance": 0.22147
}

Semantic roles & 50–950 ramp

primary
#CD54A8
secondary
#A6D7B5
accent
#DE774A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54A8

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

Preview Lab → · Contrast checker → · Palette generator →

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