#CD5A9B#CD5A9B

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

Color values

HEX#CD5A9B
RGBrgb(205, 90, 155)
HSLhsl(326, 53%, 58%)
HSVhsv(326, 56%, 80%)
CMYKcmyk(0%, 56.1%, 24.4%, 19.6%)
CIE-LABlab(54.72, 52.69, -13.15)
CIE-LCHlch(54.72, 54.31, 345.99°)
OKLaboklab(63.09% 0.1587 -0.0345)
OKLCHoklch(63.09% 0.162 347.7)
XYZxyz(34.7505, 22.6612, 33.5479)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A9B #5ACD8C
analogous
#C55ACD #CD5A9B #CD5A61
triadic
#CD5A9B #9BCD5A #5A9BCD
tetradic
#CD5A9B #CDC55A #5ACD8C #5A61CD
square
#CD5A9B #CDC55A #5ACD8C #5A61CD
split-complementary
#CD5A9B #61CD5A #5ACDC5
monochromatic
#84285C #B3367D #CD5A9B #DB89B7 #E9B8D4

Accessibility & contrast

On white

3.80
#CD5A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CD5A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A9B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A9B#FFFFFF#000000##000000
##CD5A9B1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#66769D
Deuteranopia (green-blind)
#868A98
Tritanopia (blue-blind)
#DA5774
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5a9b;
/* rgb */ color: rgb(205, 90, 155);
/* oklch */ color: oklch(63.1% 0.162 347.7);
Tailwind
colors: {
  custom: {
    50: '#df8db8',
    500: '#cd5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a9b;
$custom-light: #df8db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a9b",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 326.087,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.16243,
    "h": 347.7
  },
  "luminance": 0.22658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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