#CD5A91#CD5A91

#CD5A91 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.7% C 0.157 H 352.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CD5A91
RGBrgb(205, 90, 145)
HSLhsl(331, 53%, 58%)
HSVhsv(331, 56%, 80%)
CMYKcmyk(0%, 56.1%, 29.3%, 19.6%)
CIE-LABlab(54.38, 51.36, -7.78)
CIE-LCHlch(54.38, 51.95, 351.39°)
OKLaboklab(62.73% 0.1558 -0.02)
OKLCHoklch(62.73% 0.157 352.7)
XYZxyz(33.9453, 22.3391, 29.3067)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A91 #5ACD96
analogous
#CD5ACB #CD5A91 #CD5C5A
triadic
#CD5A91 #91CD5A #5A91CD
tetradic
#CD5A91 #CBCD5A #5ACD96 #5C5ACD
square
#CD5A91 #CBCD5A #5ACD96 #5C5ACD
split-complementary
#CD5A91 #5ACD5C #5ACBCD
monochromatic
#842854 #B33672 #CD5A91 #DB89B0 #E9B8D0

Accessibility & contrast

On white

3.84
#CD5A91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CD5A91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A91
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A91#FFFFFF#000000##000000
##CD5A911.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697593
Deuteranopia (green-blind)
#888A8E
Tritanopia (blue-blind)
#DB546F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5a91;
/* rgb */ color: rgb(205, 90, 145);
/* oklch */ color: oklch(62.7% 0.157 352.7);
Tailwind
colors: {
  custom: {
    50: '#df8db1',
    500: '#cd5a91',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a91;
$custom-light: #df8db1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a91",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 331.304,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62731,
    "c": 0.15707,
    "h": 352.7
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#CD5A91
secondary
#AAD8C2
accent
#DD974B
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CD5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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