#CD54A4#CD54A4

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

Color values

HEX#CD54A4
RGBrgb(205, 84, 164)
HSLhsl(320, 55%, 57%)
HSVhsv(320, 59%, 80%)
CMYKcmyk(0%, 59%, 20%, 19.6%)
CIE-LABlab(54.03, 56.69, -19.47)
CIE-LCHlch(54.03, 59.94, 341.05°)
OKLaboklab(62.69% 0.1693 -0.0519)
OKLCHoklch(62.69% 0.177 342.9)
XYZxyz(35.0489, 22.0032, 37.5159)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A4 #54CD7D
analogous
#BA54CD #CD54A4 #CD5468
triadic
#CD54A4 #A4CD54 #54A4CD
tetradic
#CD54A4 #CDBA54 #54CD7D #5468CD
square
#CD54A4 #CDBA54 #54CD7D #5468CD
split-complementary
#CD54A4 #68CD54 #54CDBA
monochromatic
#812662 #B03486 #CD54A4 #DB83BD #E9B3D6

Accessibility & contrast

On white

3.89
#CD54A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CD54A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A4#FFFFFF#000000##000000
##CD54A41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A7
Deuteranopia (green-blind)
#8089A1
Tritanopia (blue-blind)
#D95475
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a4;
/* rgb */ color: rgb(205, 84, 164);
/* oklch */ color: oklch(62.7% 0.177 342.9);
Tailwind
colors: {
  custom: {
    50: '#df8abf',
    500: '#cd54a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a4;
$custom-light: #df8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a4",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 320.331,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62688,
    "c": 0.1771,
    "h": 342.9
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54A4

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

Preview Lab → · Contrast checker → · Palette generator →

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