#CD54A1#CD54A1

#CD54A1 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.175 H 344.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CD54A1
RGBrgb(205, 84, 161)
HSLhsl(322, 55%, 57%)
HSVhsv(322, 59%, 80%)
CMYKcmyk(0%, 59%, 21.5%, 19.6%)
CIE-LABlab(53.92, 56.27, -17.89)
CIE-LCHlch(53.92, 59.04, 342.37°)
OKLaboklab(62.57% 0.1686 -0.0475)
OKLCHoklch(62.57% 0.175 344.3)
XYZxyz(34.7812, 21.8961, 36.1059)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A1 #54CD80
analogous
#BD54CD #CD54A1 #CD5465
triadic
#CD54A1 #A1CD54 #54A1CD
tetradic
#CD54A1 #CDBD54 #54CD80 #5465CD
square
#CD54A1 #CDBD54 #54CD80 #5465CD
split-complementary
#CD54A1 #65CD54 #54CDBD
monochromatic
#812660 #B03483 #CD54A1 #DB83BB #E9B3D5

Accessibility & contrast

On white

3.90
#CD54A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CD54A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A1#FFFFFF#000000##000000
##CD54A11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A3
Deuteranopia (green-blind)
#81889E
Tritanopia (blue-blind)
#D95373
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a1;
/* rgb */ color: rgb(205, 84, 161);
/* oklch */ color: oklch(62.6% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#df8abd',
    500: '#cd54a1',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a1;
$custom-light: #df8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a1",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 161
  },
  "hsl": {
    "h": 321.818,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.17518,
    "h": 344.3
  },
  "luminance": 0.21893
}

Semantic roles & 50–950 ramp

primary
#CD54A1
secondary
#A6D7B8
accent
#DE804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54A1

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

Preview Lab → · Contrast checker → · Palette generator →

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