#CD54AF#CD54AF

#CD54AF is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.185 H 338.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CD54AF
RGBrgb(205, 84, 175)
HSLhsl(315, 55%, 57%)
HSVhsv(315, 59%, 80%)
CMYKcmyk(0%, 59%, 14.6%, 19.6%)
CIE-LABlab(54.47, 58.31, -25.21)
CIE-LCHlch(54.47, 63.53, 336.62°)
OKLaboklab(63.15% 0.1717 -0.068)
OKLCHoklch(63.15% 0.185 338.4)
XYZxyz(36.0856, 22.4179, 42.9757)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54AF #54CD72
analogous
#AF54CD #CD54AF #CD5473
triadic
#CD54AF #AFCD54 #54AFCD
tetradic
#CD54AF #CDAF54 #54CD72 #5473CD
square
#CD54AF #CDAF54 #54CD72 #5473CD
split-complementary
#CD54AF #73CD54 #54CDAF
monochromatic
#81266A #B03491 #CD54AF #DB83C5 #E9B3DB

Accessibility & contrast

On white

3.83
#CD54AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CD54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54AF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54AF#FFFFFF#000000##000000
##CD54AF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#D7587A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd54af;
/* rgb */ color: rgb(205, 84, 175);
/* oklch */ color: oklch(63.2% 0.185 338.4);
Tailwind
colors: {
  custom: {
    50: '#df8ac7',
    500: '#cd54af',
    950: '#000000',
  },
}
SCSS
$custom: #cd54af;
$custom-light: #df8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54af",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 314.876,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.18464,
    "h": 338.4
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#CD54AF
secondary
#A6D7B2
accent
#DE6E4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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