#CD5DA7#CD5DA7

#CD5DA7 is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.165 H 342.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CD5DA7
RGBrgb(205, 93, 167)
HSLhsl(320, 53%, 58%)
HSVhsv(320, 55%, 80%)
CMYKcmyk(0%, 54.6%, 18.5%, 19.6%)
CIE-LABlab(55.69, 53.00, -18.69)
CIE-LCHlch(55.69, 56.20, 340.57°)
OKLaboklab(63.95% 0.1576 -0.0498)
OKLCHoklch(63.95% 0.165 342.5)
XYZxyz(36.0670, 23.6008, 39.2076)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DA7 #5DCD83
analogous
#BB5DCD #CD5DA7 #CD5D6F
triadic
#CD5DA7 #A7CD5D #5DA7CD
tetradic
#CD5DA7 #CDBB5D #5DCD83 #5D6FCD
square
#CD5DA7 #CDBB5D #5DCD83 #5D6FCD
split-complementary
#CD5DA7 #6FCD5D #5DCDBB
monochromatic
#862967 #B5388B #CD5DA7 #DB8CC0 #EABBDA

Accessibility & contrast

On white

3.67
#CD5DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CD5DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DA7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DA7#FFFFFF#000000##000000
##CD5DA71.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#D85E7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5da7;
/* rgb */ color: rgb(205, 93, 167);
/* oklch */ color: oklch(64.0% 0.165 342.5);
Tailwind
colors: {
  custom: {
    50: '#df90c1',
    500: '#cd5da7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5da7;
$custom-light: #df90c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5da7",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 320.357,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63951,
    "c": 0.16529,
    "h": 342.5
  },
  "luminance": 0.23598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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