#CD54AB#CD54AB

#CD54AB is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.182 H 340.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CD54AB
RGBrgb(205, 84, 171)
HSLhsl(317, 55%, 57%)
HSVhsv(317, 59%, 80%)
CMYKcmyk(0%, 59%, 16.6%, 19.6%)
CIE-LABlab(54.31, 57.71, -23.13)
CIE-LCHlch(54.31, 62.18, 338.16°)
OKLaboklab(62.98% 0.1709 -0.0622)
OKLCHoklch(62.98% 0.182 340)
XYZxyz(35.6985, 22.2631, 40.9372)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54AB #54CD76
analogous
#B354CD #CD54AB #CD546F
triadic
#CD54AB #ABCD54 #54ABCD
tetradic
#CD54AB #CDB354 #54CD76 #546FCD
square
#CD54AB #CDB354 #54CD76 #546FCD
split-complementary
#CD54AB #6FCD54 #54CDB3
monochromatic
#812667 #B0348D #CD54AB #DB83C2 #E9B3DA

Accessibility & contrast

On white

3.85
#CD54AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CD54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54AB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54AB#FFFFFF#000000##000000
##CD54AB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#D85778
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd54ab;
/* rgb */ color: rgb(205, 84, 171);
/* oklch */ color: oklch(63.0% 0.182 340.0);
Tailwind
colors: {
  custom: {
    50: '#df8ac4',
    500: '#cd54ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd54ab;
$custom-light: #df8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54ab",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 316.86,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.18181,
    "h": 340
  },
  "luminance": 0.2226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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