#CD5C8E#CD5C8E

#CD5C8E is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.9% C 0.153 H 354.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CD5C8E
RGBrgb(205, 92, 142)
HSLhsl(333, 53%, 58%)
HSVhsv(333, 55%, 80%)
CMYKcmyk(0%, 55.1%, 30.7%, 19.6%)
CIE-LABlab(54.65, 50.03, -5.62)
CIE-LCHlch(54.65, 50.35, 353.59°)
OKLaboklab(62.9% 0.1519 -0.0142)
OKLCHoklch(62.9% 0.153 354.7)
XYZxyz(33.8880, 22.5897, 28.1615)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5C8E #5CCD9B
analogous
#CD5CC7 #CD5C8E #CD625C
triadic
#CD5C8E #8ECD5C #5C8ECD
tetradic
#CD5C8E #C7CD5C #5CCD9B #625CCD
square
#CD5C8E #C7CD5C #5CCD9B #625CCD
split-complementary
#CD5C8E #5CCD62 #5CC7CD
monochromatic
#862952 #B4376F #CD5C8E #DB8BAE #EABACF

Accessibility & contrast

On white

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

On black

5.52
#CD5C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5C8E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5C8E#FFFFFF#000000##000000
##CD5C8E1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#8A8A8B
Tritanopia (blue-blind)
#DB556F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd5c8e;
/* rgb */ color: rgb(205, 92, 142);
/* oklch */ color: oklch(62.9% 0.153 354.7);
Tailwind
colors: {
  custom: {
    50: '#df8eaf',
    500: '#cd5c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cd5c8e;
$custom-light: #df8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5c8e",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 333.451,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62895,
    "c": 0.1526,
    "h": 354.7
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#CD5C8E
secondary
#ACD9C5
accent
#DC9C4B
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CD5C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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