#CD5FB8#CD5FB8

#CD5FB8 is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.9% C 0.175 H 335.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CD5FB8
RGBrgb(205, 95, 184)
HSLhsl(311, 52%, 59%)
HSVhsv(311, 54%, 80%)
CMYKcmyk(0%, 53.7%, 10.2%, 19.6%)
CIE-LABlab(56.71, 54.68, -26.95)
CIE-LCHlch(56.71, 60.96, 333.76°)
OKLaboklab(64.93% 0.1586 -0.073)
OKLCHoklch(64.93% 0.175 335.3)
XYZxyz(37.9209, 24.6270, 48.0943)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB8 #5FCD74
analogous
#AB5FCD #CD5FB8 #CD5F81
triadic
#CD5FB8 #B8CD5F #5FB8CD
tetradic
#CD5FB8 #CDAB5F #5FCD74 #5F81CD
square
#CD5FB8 #CDAB5F #5FCD74 #5F81CD
split-complementary
#CD5FB8 #81CD5F #5FCDAB
monochromatic
#872A76 #B6399E #CD5FB8 #DC8ECD #EABCE1

Accessibility & contrast

On white

3.54
#CD5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CD5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB8#FFFFFF#000000##000000
##CD5FB81.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBB
Deuteranopia (green-blind)
#7F8EB5
Tritanopia (blue-blind)
#D66583
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb8;
/* rgb */ color: rgb(205, 95, 184);
/* oklch */ color: oklch(64.9% 0.175 335.3);
Tailwind
colors: {
  custom: {
    50: '#df91cd',
    500: '#cd5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb8;
$custom-light: #df91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 311.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64929,
    "c": 0.17457,
    "h": 335.3
  },
  "luminance": 0.24624
}

Semantic roles & 50–950 ramp

primary
#CD5FB8
secondary
#AEDAB7
accent
#DC674C
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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