#CD5EA6#CD5EA6

#CD5EA6 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.163 H 343.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CD5EA6
RGBrgb(205, 94, 166)
HSLhsl(321, 53%, 59%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 54.1%, 19%, 19.6%)
CIE-LABlab(55.83, 52.38, -17.89)
CIE-LCHlch(55.83, 55.35, 341.14°)
OKLaboklab(64.04% 0.1559 -0.0476)
OKLCHoklch(64.04% 0.163 343)
XYZxyz(36.0633, 23.7407, 38.7520)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EA6 #5ECD85
analogous
#BC5ECD #CD5EA6 #CD5E6E
triadic
#CD5EA6 #A6CD5E #5EA6CD
tetradic
#CD5EA6 #CDBC5E #5ECD85 #5E6ECD
square
#CD5EA6 #CDBC5E #5ECD85 #5E6ECD
split-complementary
#CD5EA6 #6ECD5E #5ECDBC
monochromatic
#872A66 #B53889 #CD5EA6 #DC8DC0 #EABBDA

Accessibility & contrast

On white

3.65
#CD5EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CD5EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EA6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EA6#FFFFFF#000000##000000
##CD5EA61.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#858DA3
Tritanopia (blue-blind)
#D85E7A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5ea6;
/* rgb */ color: rgb(205, 94, 166);
/* oklch */ color: oklch(64.0% 0.163 343.0);
Tailwind
colors: {
  custom: {
    50: '#df90c0',
    500: '#cd5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ea6;
$custom-light: #df90c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ea6",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 321.081,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64044,
    "c": 0.16305,
    "h": 343
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#CD5EA6
secondary
#ADD9BD
accent
#DC7E4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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