#CD5EA8#CD5EA8

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

Color values

HEX#CD5EA8
RGBrgb(205, 94, 168)
HSLhsl(320, 53%, 59%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 54.1%, 18%, 19.6%)
CIE-LABlab(55.90, 52.67, -18.94)
CIE-LCHlch(55.90, 55.97, 340.22°)
OKLaboklab(64.12% 0.1564 -0.0505)
OKLCHoklch(64.12% 0.164 342.1)
XYZxyz(36.2482, 23.8146, 39.7258)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EA8 #5ECD83
analogous
#BA5ECD #CD5EA8 #CD5E70
triadic
#CD5EA8 #A8CD5E #5EA8CD
tetradic
#CD5EA8 #CDBA5E #5ECD83 #5E70CD
square
#CD5EA8 #CDBA5E #5ECD83 #5E70CD
split-complementary
#CD5EA8 #70CD5E #5ECDBA
monochromatic
#872A68 #B5388C #CD5EA8 #DC8DC1 #EABBDA

Accessibility & contrast

On white

3.64
#CD5EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5EA8#FFFFFF#000000##000000
##CD5EA81.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAA
Deuteranopia (green-blind)
#848DA5
Tritanopia (blue-blind)
#D85F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5ea8;
/* rgb */ color: rgb(205, 94, 168);
/* oklch */ color: oklch(64.1% 0.164 342.1);
Tailwind
colors: {
  custom: {
    50: '#df90c2',
    500: '#cd5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ea8;
$custom-light: #df90c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ea8",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 320,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.16439,
    "h": 342.1
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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