#CD5A8B#CD5A8B

#CD5A8B is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.5% C 0.154 H 355.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CD5A8B
RGBrgb(205, 90, 139)
HSLhsl(334, 53%, 58%)
HSVhsv(334, 56%, 80%)
CMYKcmyk(0%, 56.1%, 32.2%, 19.6%)
CIE-LABlab(54.20, 50.60, -4.52)
CIE-LCHlch(54.20, 50.81, 354.89°)
OKLaboklab(62.53% 0.1539 -0.0113)
OKLCHoklch(62.53% 0.154 355.8)
XYZxyz(33.4948, 22.1589, 26.9342)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A8B #5ACD9C
analogous
#CD5AC4 #CD5A8B #CD635A
triadic
#CD5A8B #8BCD5A #5A8BCD
tetradic
#CD5A8B #C4CD5A #5ACD9C #635ACD
square
#CD5A8B #C4CD5A #5ACD9C #635ACD
split-complementary
#CD5A8B #5ACD63 #5AC4CD
monochromatic
#84284F #B3366C #CD5A8B #DB89AC #E9B8CD

Accessibility & contrast

On white

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

On black

5.43
#CD5A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A8B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A8B#FFFFFF#000000##000000
##CD5A8B1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B748D
Deuteranopia (green-blind)
#8A8988
Tritanopia (blue-blind)
#DC526D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5a8b;
/* rgb */ color: rgb(205, 90, 139);
/* oklch */ color: oklch(62.5% 0.154 355.8);
Tailwind
colors: {
  custom: {
    50: '#e08dac',
    500: '#cd5a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a8b;
$custom-light: #e08dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a8b",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 139
  },
  "hsl": {
    "h": 334.435,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62527,
    "c": 0.15431,
    "h": 355.8
  },
  "luminance": 0.22156
}

Semantic roles & 50–950 ramp

primary
#CD5A8B
secondary
#AAD8C5
accent
#DD9F4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CD5A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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