#CD5A9C#CD5A9C

#CD5A9C is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.1% C 0.163 H 347.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CD5A9C
RGBrgb(205, 90, 156)
HSLhsl(326, 53%, 58%)
HSVhsv(326, 56%, 80%)
CMYKcmyk(0%, 56.1%, 23.9%, 19.6%)
CIE-LABlab(54.76, 52.83, -13.68)
CIE-LCHlch(54.76, 54.57, 345.48°)
OKLaboklab(63.13% 0.159 -0.036)
OKLCHoklch(63.13% 0.163 347.2)
XYZxyz(34.8349, 22.6949, 33.9920)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A9C #5ACD8B
analogous
#C45ACD #CD5A9C #CD5A63
triadic
#CD5A9C #9CCD5A #5A9CCD
tetradic
#CD5A9C #CDC45A #5ACD8B #5A63CD
square
#CD5A9C #CDC45A #5ACD8B #5A63CD
split-complementary
#CD5A9C #63CD5A #5ACDC4
monochromatic
#84285D #B3367E #CD5A9C #DB89B8 #E9B8D4

Accessibility & contrast

On white

3.79
#CD5A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CD5A9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A9C
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A9C#FFFFFF#000000##000000
##CD5A9C1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#66779E
Deuteranopia (green-blind)
#858A99
Tritanopia (blue-blind)
#DA5774
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5a9c;
/* rgb */ color: rgb(205, 90, 156);
/* oklch */ color: oklch(63.1% 0.163 347.2);
Tailwind
colors: {
  custom: {
    50: '#df8eb9',
    500: '#cd5a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a9c;
$custom-light: #df8eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a9c",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 156
  },
  "hsl": {
    "h": 325.565,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63129,
    "c": 0.16302,
    "h": 347.2
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#CD5A9C
secondary
#AAD8BE
accent
#DD894B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CD5A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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