#CD5A7E#CD5A7E

#CD5A7E is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.1% C 0.150 H 2.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CD5A7E
RGBrgb(205, 90, 126)
HSLhsl(341, 53%, 58%)
HSVhsv(341, 56%, 80%)
CMYKcmyk(0%, 56.1%, 38.5%, 19.6%)
CIE-LABlab(53.82, 49.07, 2.61)
CIE-LCHlch(53.82, 49.14, 3.05°)
OKLaboklab(62.12% 0.1495 0.0074)
OKLCHoklch(62.12% 0.15 2.8)
XYZxyz(32.6008, 21.8013, 22.2258)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A7E #5ACDA9
analogous
#CD5AB8 #CD5A7E #CD6F5A
triadic
#CD5A7E #7ECD5A #5A7ECD
tetradic
#CD5A7E #B8CD5A #5ACDA9 #6F5ACD
square
#CD5A7E #B8CD5A #5ACDA9 #6F5ACD
split-complementary
#CD5A7E #5ACD6F #5AB8CD
monochromatic
#842845 #B3365E #CD5A7E #DB89A3 #E9B8C7

Accessibility & contrast

On white

3.92
#CD5A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CD5A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A7E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A7E#FFFFFF#000000##000000
##CD5A7E1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F737F
Deuteranopia (green-blind)
#8D897B
Tritanopia (blue-blind)
#DD4F67
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5a7e;
/* rgb */ color: rgb(205, 90, 126);
/* oklch */ color: oklch(62.1% 0.150 2.8);
Tailwind
colors: {
  custom: {
    50: '#e08da3',
    500: '#cd5a7e',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a7e;
$custom-light: #e08da3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a7e",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 341.217,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62118,
    "c": 0.14965,
    "h": 2.8
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#CD5A7E
secondary
#AAD8CA
accent
#DDAF4B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD5A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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