#CD5A8F#CD5A8F

#CD5A8F is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.7% C 0.156 H 353.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CD5A8F
RGBrgb(205, 90, 143)
HSLhsl(332, 53%, 58%)
HSVhsv(332, 56%, 80%)
CMYKcmyk(0%, 56.1%, 30.2%, 19.6%)
CIE-LABlab(54.32, 51.11, -6.70)
CIE-LCHlch(54.32, 51.54, 352.54°)
OKLaboklab(62.66% 0.1552 -0.0171)
OKLCHoklch(62.66% 0.156 353.7)
XYZxyz(33.7924, 22.2779, 28.5017)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5A8F #5ACD98
analogous
#CD5AC8 #CD5A8F #CD5F5A
triadic
#CD5A8F #8FCD5A #5A8FCD
tetradic
#CD5A8F #C8CD5A #5ACD98 #5F5ACD
square
#CD5A8F #C8CD5A #5ACD98 #5F5ACD
split-complementary
#CD5A8F #5ACD5F #5AC8CD
monochromatic
#842853 #B33670 #CD5A8F #DB89AF #E9B8CF

Accessibility & contrast

On white

3.85
#CD5A8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CD5A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5A8F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5A8F#FFFFFF#000000##000000
##CD5A8F1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7591
Deuteranopia (green-blind)
#898A8C
Tritanopia (blue-blind)
#DB546E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cd5a8f;
/* rgb */ color: rgb(205, 90, 143);
/* oklch */ color: oklch(62.7% 0.156 353.7);
Tailwind
colors: {
  custom: {
    50: '#df8daf',
    500: '#cd5a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd5a8f;
$custom-light: #df8daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5a8f",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 332.348,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.15611,
    "h": 353.7
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#CD5A8F
secondary
#AAD8C3
accent
#DD9A4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CD5A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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