#CD5FAC#CD5FAC

#CD5FAC is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.166 H 340.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CD5FAC
RGBrgb(205, 95, 172)
HSLhsl(318, 52%, 59%)
HSVhsv(318, 54%, 80%)
CMYKcmyk(0%, 53.7%, 16.1%, 19.6%)
CIE-LABlab(56.23, 52.80, -20.76)
CIE-LCHlch(56.23, 56.73, 338.54°)
OKLaboklab(64.42% 0.156 -0.0556)
OKLCHoklch(64.42% 0.166 340.4)
XYZxyz(36.7160, 24.1450, 41.7484)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FAC #5FCD80
analogous
#B75FCD #CD5FAC #CD5F75
triadic
#CD5FAC #ACCD5F #5FACCD
tetradic
#CD5FAC #CDB75F #5FCD80 #5F75CD
square
#CD5FAC #CDB75F #5FCD80 #5F75CD
split-complementary
#CD5FAC #75CD5F #5FCDB7
monochromatic
#872A6B #B63990 #CD5FAC #DC8EC4 #EABCDC

Accessibility & contrast

On white

3.60
#CD5FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CD5FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FAC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FAC#FFFFFF#000000##000000
##CD5FAC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAF
Deuteranopia (green-blind)
#838DA9
Tritanopia (blue-blind)
#D8617E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5fac;
/* rgb */ color: rgb(205, 95, 172);
/* oklch */ color: oklch(64.4% 0.166 340.4);
Tailwind
colors: {
  custom: {
    50: '#df91c5',
    500: '#cd5fac',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fac;
$custom-light: #df91c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fac",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 318,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64419,
    "c": 0.16559,
    "h": 340.4
  },
  "luminance": 0.24142
}

Semantic roles & 50–950 ramp

primary
#CD5FAC
secondary
#AEDABB
accent
#DC774C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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