#CD5EA7#CD5EA7

#CD5EA7 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.1% C 0.164 H 342.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CD5EA7
RGBrgb(205, 94, 167)
HSLhsl(321, 53%, 59%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 54.1%, 18.5%, 19.6%)
CIE-LABlab(55.86, 52.52, -18.42)
CIE-LCHlch(55.86, 55.66, 340.68°)
OKLaboklab(64.08% 0.1562 -0.0491)
OKLCHoklch(64.08% 0.164 342.6)
XYZxyz(36.1554, 23.7775, 39.2370)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EA7 #5ECD84
analogous
#BC5ECD #CD5EA7 #CD5E6F
triadic
#CD5EA7 #A7CD5E #5EA7CD
tetradic
#CD5EA7 #CDBC5E #5ECD84 #5E6FCD
square
#CD5EA7 #CDBC5E #5ECD84 #5E6FCD
split-complementary
#CD5EA7 #6FCD5E #5ECDBC
monochromatic
#872A67 #B5388B #CD5EA7 #DC8DC1 #EABBDA

Accessibility & contrast

On white

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

On black

5.76
#CD5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EA7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EA7#FFFFFF#000000##000000
##CD5EA71.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA9
Deuteranopia (green-blind)
#848DA4
Tritanopia (blue-blind)
#D85F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5ea7;
/* rgb */ color: rgb(205, 94, 167);
/* oklch */ color: oklch(64.1% 0.164 342.6);
Tailwind
colors: {
  custom: {
    50: '#df90c1',
    500: '#cd5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ea7;
$custom-light: #df90c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ea7",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 320.541,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64083,
    "c": 0.16371,
    "h": 342.6
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#CD5EA7
secondary
#ADD9BC
accent
#DC7D4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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