#CD54AA#CD54AA

#CD54AA is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.181 H 340.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD54AA
RGBrgb(205, 84, 170)
HSLhsl(317, 55%, 57%)
HSVhsv(317, 59%, 80%)
CMYKcmyk(0%, 59%, 17.1%, 19.6%)
CIE-LABlab(54.27, 57.56, -22.61)
CIE-LCHlch(54.27, 61.85, 338.55°)
OKLaboklab(62.94% 0.1706 -0.0607)
OKLCHoklch(62.94% 0.181 340.4)
XYZxyz(35.6036, 22.2251, 40.4371)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54AA #54CD77
analogous
#B354CD #CD54AA #CD546E
triadic
#CD54AA #AACD54 #54AACD
tetradic
#CD54AA #CDB354 #54CD77 #546ECD
square
#CD54AA #CDB354 #54CD77 #546ECD
split-complementary
#CD54AA #6ECD54 #54CDB3
monochromatic
#812667 #B0348C #CD54AA #DB83C2 #E9B3D9

Accessibility & contrast

On white

3.86
#CD54AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54AA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54AA#FFFFFF#000000##000000
##CD54AA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AD
Deuteranopia (green-blind)
#7E89A7
Tritanopia (blue-blind)
#D85678
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd54aa;
/* rgb */ color: rgb(205, 84, 170);
/* oklch */ color: oklch(62.9% 0.181 340.4);
Tailwind
colors: {
  custom: {
    50: '#df8ac3',
    500: '#cd54aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd54aa;
$custom-light: #df8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54aa",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 317.355,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62938,
    "c": 0.18112,
    "h": 340.4
  },
  "luminance": 0.22222
}

Semantic roles & 50–950 ramp

primary
#CD54AA
secondary
#A6D7B4
accent
#DE754A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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