#CD5FB6#CD5FB6

#CD5FB6 is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.8% C 0.173 H 336.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CD5FB6
RGBrgb(205, 95, 182)
HSLhsl(313, 52%, 59%)
HSVhsv(313, 54%, 80%)
CMYKcmyk(0%, 53.7%, 11.2%, 19.6%)
CIE-LABlab(56.63, 54.36, -25.93)
CIE-LCHlch(56.63, 60.23, 334.50°)
OKLaboklab(64.84% 0.1582 -0.0701)
OKLCHoklch(64.84% 0.173 336.1)
XYZxyz(37.7128, 24.5437, 46.9980)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB6 #5FCD76
analogous
#AD5FCD #CD5FB6 #CD5F7F
triadic
#CD5FB6 #B6CD5F #5FB6CD
tetradic
#CD5FB6 #CDAD5F #5FCD76 #5F7FCD
square
#CD5FB6 #CDAD5F #5FCD76 #5F7FCD
split-complementary
#CD5FB6 #7FCD5F #5FCDAD
monochromatic
#872A74 #B6399C #CD5FB6 #DC8ECB #EABCE1

Accessibility & contrast

On white

3.55
#CD5FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CD5FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB6#FFFFFF#000000##000000
##CD5FB61.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB9
Deuteranopia (green-blind)
#808EB3
Tritanopia (blue-blind)
#D66482
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb6;
/* rgb */ color: rgb(205, 95, 182);
/* oklch */ color: oklch(64.8% 0.173 336.1);
Tailwind
colors: {
  custom: {
    50: '#df91cc',
    500: '#cd5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb6;
$custom-light: #df91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb6",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 312.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.17302,
    "h": 336.1
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

primary
#CD5FB6
secondary
#AEDAB7
accent
#DC6A4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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