#CD5CBA#CD5CBA

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

Color values

HEX#CD5CBA
RGBrgb(205, 92, 186)
HSLhsl(310, 53%, 58%)
HSVhsv(310, 55%, 80%)
CMYKcmyk(0%, 55.1%, 9.3%, 19.6%)
CIE-LABlab(56.27, 56.41, -28.79)
CIE-LCHlch(56.27, 63.33, 332.96°)
OKLaboklab(64.63% 0.163 -0.0782)
OKLCHoklch(64.63% 0.181 334.4)
XYZxyz(37.8670, 24.1813, 49.1179)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CBA #5CCD6F
analogous
#A75CCD #CD5CBA #CD5C81
triadic
#CD5CBA #BACD5C #5CBACD
tetradic
#CD5CBA #CDA75C #5CCD6F #5C81CD
square
#CD5CBA #CDA75C #5CCD6F #5C81CD
split-complementary
#CD5CBA #81CD5C #5CCDA7
monochromatic
#862976 #B4379F #CD5CBA #DB8BCE #EABAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5CBA#FFFFFF#000000##000000
##CD5CBA1.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)
#5B7CBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D66383
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5cba;
/* rgb */ color: rgb(205, 92, 186);
/* oklch */ color: oklch(64.6% 0.181 334.4);
Tailwind
colors: {
  custom: {
    50: '#df8fcf',
    500: '#cd5cba',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cba;
$custom-light: #df8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cba",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 310.088,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64631,
    "c": 0.18082,
    "h": 334.4
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#CD5CBA
secondary
#ACD9B3
accent
#DC644B
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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