#CD5894#CD5894

#CD5894 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.162 H 350.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CD5894
RGBrgb(205, 88, 148)
HSLhsl(329, 54%, 57%)
HSVhsv(329, 57%, 80%)
CMYKcmyk(0%, 57.1%, 27.8%, 19.6%)
CIE-LABlab(54.13, 52.69, -9.92)
CIE-LCHlch(54.13, 53.61, 349.34°)
OKLaboklab(62.58% 0.1596 -0.0257)
OKLCHoklch(62.58% 0.162 350.8)
XYZxyz(34.0132, 22.0999, 30.4856)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5894 #58CD91
analogous
#CC58CD #CD5894 #CD5859
triadic
#CD5894 #94CD58 #5894CD
tetradic
#CD5894 #CDCC58 #58CD91 #5859CD
square
#CD5894 #CDCC58 #58CD91 #5859CD
split-complementary
#CD5894 #59CD58 #58CDCC
monochromatic
#832756 #B23576 #CD5894 #DB87B2 #E9B6D0

Accessibility & contrast

On white

3.87
#CD5894 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CD5894 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5894
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5894#FFFFFF#000000##000000
##CD58941.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#677496
Deuteranopia (green-blind)
#878991
Tritanopia (blue-blind)
#DB536F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5894;
/* rgb */ color: rgb(205, 88, 148);
/* oklch */ color: oklch(62.6% 0.162 350.8);
Tailwind
colors: {
  custom: {
    50: '#df8cb3',
    500: '#cd5894',
    950: '#000000',
  },
}
SCSS
$custom: #cd5894;
$custom-light: #df8cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5894",
  "rgb": {
    "r": 205,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 329.231,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62575,
    "c": 0.16163,
    "h": 350.8
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#CD5894
secondary
#A9D8C0
accent
#DD924B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CD5894

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

Preview Lab → · Contrast checker → · Palette generator →

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