#CD5EB2#CD5EB2

#CD5EB2 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.5% C 0.172 H 337.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CD5EB2
RGBrgb(205, 94, 178)
HSLhsl(315, 53%, 59%)
HSVhsv(315, 54%, 80%)
CMYKcmyk(0%, 54.1%, 13.2%, 19.6%)
CIE-LABlab(56.29, 54.20, -24.14)
CIE-LCHlch(56.29, 59.33, 335.99°)
OKLaboklab(64.54% 0.1587 -0.0651)
OKLCHoklch(64.54% 0.172 337.7)
XYZxyz(37.2158, 24.2017, 44.8221)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EB2 #5ECD79
analogous
#B15ECD #CD5EB2 #CD5E7A
triadic
#CD5EB2 #B2CD5E #5EB2CD
tetradic
#CD5EB2 #CDB15E #5ECD79 #5E7ACD
square
#CD5EB2 #CDB15E #5ECD79 #5E7ACD
split-complementary
#CD5EB2 #7ACD5E #5ECDB1
monochromatic
#872A70 #B53897 #CD5EB2 #DC8DC8 #EABBDF

Accessibility & contrast

On white

3.60
#CD5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CD5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EB2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EB2#FFFFFF#000000##000000
##CD5EB21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#818DAF
Tritanopia (blue-blind)
#D76280
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5eb2;
/* rgb */ color: rgb(205, 94, 178);
/* oklch */ color: oklch(64.5% 0.172 337.7);
Tailwind
colors: {
  custom: {
    50: '#df90c9',
    500: '#cd5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5eb2;
$custom-light: #df90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5eb2",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 314.595,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.17155,
    "h": 337.7
  },
  "luminance": 0.24199
}

Semantic roles & 50–950 ramp

primary
#CD5EB2
secondary
#ADD9B8
accent
#DC6F4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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