#CD5F8A#CD5F8A

#CD5F8A is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.2% C 0.146 H 357.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CD5F8A
RGBrgb(205, 95, 138)
HSLhsl(337, 52%, 59%)
HSVhsv(337, 54%, 80%)
CMYKcmyk(0%, 53.7%, 32.7%, 19.6%)
CIE-LABlab(55.07, 48.09, -2.64)
CIE-LCHlch(55.07, 48.16, 356.86°)
OKLaboklab(63.17% 0.1462 -0.0063)
OKLCHoklch(63.17% 0.146 357.5)
XYZxyz(33.8581, 23.0018, 26.6965)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5F8A #5FCDA2
analogous
#CD5FC1 #CD5F8A #CD6B5F
triadic
#CD5F8A #8ACD5F #5F8ACD
tetradic
#CD5F8A #C1CD5F #5FCDA2 #6B5FCD
square
#CD5F8A #C1CD5F #5FCDA2 #6B5FCD
split-complementary
#CD5F8A #5FCD6B #5FC1CD
monochromatic
#872A4F #B6396A #CD5F8A #DC8EAC #EABCCE

Accessibility & contrast

On white

3.75
#CD5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CD5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5F8A
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5F8A#FFFFFF#000000##000000
##CD5F8A1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#8D8B87
Tritanopia (blue-blind)
#DC576F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5f8a;
/* rgb */ color: rgb(205, 95, 138);
/* oklch */ color: oklch(63.2% 0.146 357.5);
Tailwind
colors: {
  custom: {
    50: '#df90ac',
    500: '#cd5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cd5f8a;
$custom-light: #df90ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5f8a",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 336.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63174,
    "c": 0.14632,
    "h": 357.5
  },
  "luminance": 0.22999
}

Semantic roles & 50–950 ramp

primary
#CD5F8A
secondary
#AEDAC9
accent
#DCA44C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CD5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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