#CD5897#CD5897

#CD5897 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.7% C 0.163 H 349.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CD5897
RGBrgb(205, 88, 151)
HSLhsl(328, 54%, 57%)
HSVhsv(328, 57%, 80%)
CMYKcmyk(0%, 57.1%, 26.3%, 19.6%)
CIE-LABlab(54.23, 53.08, -11.53)
CIE-LCHlch(54.23, 54.32, 347.74°)
OKLaboklab(62.68% 0.1604 -0.0301)
OKLCHoklch(62.68% 0.163 349.4)
XYZxyz(34.2538, 22.1962, 31.7524)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5897 #58CD8E
analogous
#C858CD #CD5897 #CD585D
triadic
#CD5897 #97CD58 #5897CD
tetradic
#CD5897 #CDC858 #58CD8E #585DCD
square
#CD5897 #CDC858 #58CD8E #585DCD
split-complementary
#CD5897 #5DCD58 #58CDC8
monochromatic
#832759 #B23579 #CD5897 #DB87B4 #E9B6D2

Accessibility & contrast

On white

3.86
#CD5897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CD5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5897
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5897#FFFFFF#000000##000000
##CD58971.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#868994
Tritanopia (blue-blind)
#DA5471
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5897;
/* rgb */ color: rgb(205, 88, 151);
/* oklch */ color: oklch(62.7% 0.163 349.4);
Tailwind
colors: {
  custom: {
    50: '#df8cb5',
    500: '#cd5897',
    950: '#000000',
  },
}
SCSS
$custom: #cd5897;
$custom-light: #df8cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5897",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 327.692,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62684,
    "c": 0.16323,
    "h": 349.4
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

primary
#CD5897
secondary
#A9D8BF
accent
#DD8E4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5897

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

Preview Lab → · Contrast checker → · Palette generator →

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