#CD5FB9#CD5FB9

#CD5FB9 is a light, vivid pink. Relative luminance 0.247; OKLCH L 65.0% C 0.175 H 334.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD5FB9
RGBrgb(205, 95, 185)
HSLhsl(311, 52%, 59%)
HSVhsv(311, 54%, 80%)
CMYKcmyk(0%, 53.7%, 9.8%, 19.6%)
CIE-LABlab(56.75, 54.84, -27.46)
CIE-LCHlch(56.75, 61.34, 333.40°)
OKLaboklab(64.97% 0.1588 -0.0745)
OKLCHoklch(64.97% 0.175 334.9)
XYZxyz(38.0261, 24.6690, 48.6483)
Luminance0.2467 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB9 #5FCD73
analogous
#AA5FCD #CD5FB9 #CD5F82
triadic
#CD5FB9 #B9CD5F #5FB9CD
tetradic
#CD5FB9 #CDAA5F #5FCD73 #5F82CD
square
#CD5FB9 #CDAA5F #5FCD73 #5F82CD
split-complementary
#CD5FB9 #82CD5F #5FCDAA
monochromatic
#872A76 #B6399F #CD5FB9 #DC8ECD #EABCE2

Accessibility & contrast

On white

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

On black

5.93
#CD5FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB9#FFFFFF#000000##000000
##CD5FB91.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBC
Deuteranopia (green-blind)
#7F8EB6
Tritanopia (blue-blind)
#D66584
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb9;
/* rgb */ color: rgb(205, 95, 185);
/* oklch */ color: oklch(65.0% 0.175 334.9);
Tailwind
colors: {
  custom: {
    50: '#df91ce',
    500: '#cd5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb9;
$custom-light: #df91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb9",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 310.909,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64973,
    "c": 0.17536,
    "h": 334.9
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#CD5FB9
secondary
#AEDAB6
accent
#DC664C
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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