#CD5A97#CD5A97

#CD5A97 is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.9% C 0.160 H 349.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD5A97
RGBrgb(205, 90, 151)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 56.1%, 26.3%, 19.6%)
CIE-LABlab(54.58, 52.15, -11.01)
CIE-LCHlch(54.58, 53.30, 348.08°)
OKLaboklab(62.94% 0.1576 -0.0287)
OKLCHoklch(62.94% 0.16 349.7)
XYZxyz(34.4202, 22.5290, 31.8079)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A97 #5ACD90
analogous
#C95ACD #CD5A97 #CD5A5D
triadic
#CD5A97 #97CD5A #5A97CD
tetradic
#CD5A97 #CDC95A #5ACD90 #5A5DCD
square
#CD5A97 #CDC95A #5ACD90 #5A5DCD
split-complementary
#CD5A97 #5DCD5A #5ACDC9
monochromatic
#842859 #B33679 #CD5A97 #DB89B5 #E9B8D2

Accessibility & contrast

On white

3.81
#CD5A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD5A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A97
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A97#FFFFFF#000000##000000
##CD5A971.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#878A94
Tritanopia (blue-blind)
#DA5672
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5a97;
/* rgb */ color: rgb(205, 90, 151);
/* oklch */ color: oklch(62.9% 0.160 349.7);
Tailwind
colors: {
  custom: {
    50: '#df8db5',
    500: '#cd5a97',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a97;
$custom-light: #df8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a97",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 328.174,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.16018,
    "h": 349.7
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#CD5A97
secondary
#AAD8C0
accent
#DD8F4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CD5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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