#CD54A7#CD54A7

#CD54A7 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.8% C 0.179 H 341.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CD54A7
RGBrgb(205, 84, 167)
HSLhsl(319, 55%, 57%)
HSVhsv(319, 59%, 80%)
CMYKcmyk(0%, 59%, 18.5%, 19.6%)
CIE-LABlab(54.15, 57.13, -21.04)
CIE-LCHlch(54.15, 60.88, 339.78°)
OKLaboklab(62.81% 0.17 -0.0563)
OKLCHoklch(62.81% 0.179 341.7)
XYZxyz(35.3230, 22.1129, 38.9596)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A7 #54CD7A
analogous
#B754CD #CD54A7 #CD546B
triadic
#CD54A7 #A7CD54 #54A7CD
tetradic
#CD54A7 #CDB754 #54CD7A #546BCD
square
#CD54A7 #CDB754 #54CD7A #546BCD
split-complementary
#CD54A7 #6BCD54 #54CDB7
monochromatic
#812664 #B03489 #CD54A7 #DB83BF #E9B3D8

Accessibility & contrast

On white

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

On black

5.42
#CD54A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A7#FFFFFF#000000##000000
##CD54A71.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#D95576
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a7;
/* rgb */ color: rgb(205, 84, 167);
/* oklch */ color: oklch(62.8% 0.179 341.7);
Tailwind
colors: {
  custom: {
    50: '#df8ac1',
    500: '#cd54a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a7;
$custom-light: #df8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a7",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 318.843,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62812,
    "c": 0.17909,
    "h": 341.7
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54A7

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

Preview Lab → · Contrast checker → · Palette generator →

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