#CD5DA8#CD5DA8

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

Color values

HEX#CD5DA8
RGBrgb(205, 93, 168)
HSLhsl(320, 53%, 58%)
HSVhsv(320, 55%, 80%)
CMYKcmyk(0%, 54.6%, 18%, 19.6%)
CIE-LABlab(55.72, 53.15, -19.22)
CIE-LCHlch(55.72, 56.51, 340.12°)
OKLaboklab(63.99% 0.1578 -0.0513)
OKLCHoklch(63.99% 0.166 342)
XYZxyz(36.1598, 23.6379, 39.6963)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DA8 #5DCD82
analogous
#BA5DCD #CD5DA8 #CD5D70
triadic
#CD5DA8 #A8CD5D #5DA8CD
tetradic
#CD5DA8 #CDBA5D #5DCD82 #5D70CD
square
#CD5DA8 #CDBA5D #5DCD82 #5D70CD
split-complementary
#CD5DA8 #70CD5D #5DCDBA
monochromatic
#862968 #B5388C #CD5DA8 #DB8CC1 #EABBDA

Accessibility & contrast

On white

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

On black

5.73
#CD5DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DA8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DA8#FFFFFF#000000##000000
##CD5DA81.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#848CA5
Tritanopia (blue-blind)
#D85E7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cd5da8;
/* rgb */ color: rgb(205, 93, 168);
/* oklch */ color: oklch(64.0% 0.166 342.0);
Tailwind
colors: {
  custom: {
    50: '#df90c2',
    500: '#cd5da8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5da8;
$custom-light: #df90c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5da8",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 319.821,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.16597,
    "h": 342
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

primary
#CD5DA8
secondary
#ADD9BB
accent
#DC7B4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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