#CD5EA1#CD5EA1

#CD5EA1 is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.8% C 0.160 H 345.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CD5EA1
RGBrgb(205, 94, 161)
HSLhsl(324, 53%, 59%)
HSVhsv(324, 54%, 80%)
CMYKcmyk(0%, 54.1%, 21.5%, 19.6%)
CIE-LABlab(55.65, 51.65, -15.26)
CIE-LCHlch(55.65, 53.85, 343.54°)
OKLaboklab(63.85% 0.1546 -0.0403)
OKLCHoklch(63.85% 0.16 345.4)
XYZxyz(35.6135, 23.5608, 36.3833)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EA1 #5ECD8A
analogous
#C25ECD #CD5EA1 #CD5E69
triadic
#CD5EA1 #A1CD5E #5EA1CD
tetradic
#CD5EA1 #CDC25E #5ECD8A #5E69CD
square
#CD5EA1 #CDC25E #5ECD8A #5E69CD
split-complementary
#CD5EA1 #69CD5E #5ECDC2
monochromatic
#872A62 #B53884 #CD5EA1 #DC8DBC #EABBD8

Accessibility & contrast

On white

3.68
#CD5EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CD5EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EA1
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EA1#FFFFFF#000000##000000
##CD5EA11.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#868C9E
Tritanopia (blue-blind)
#D95D78
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5ea1;
/* rgb */ color: rgb(205, 94, 161);
/* oklch */ color: oklch(63.8% 0.160 345.4);
Tailwind
colors: {
  custom: {
    50: '#df90bc',
    500: '#cd5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ea1;
$custom-light: #df90bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ea1",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 323.784,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.15981,
    "h": 345.4
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#CD5EA1
secondary
#ADD9BF
accent
#DC854C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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