#CD5FB5#CD5FB5

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

Color values

HEX#CD5FB5
RGBrgb(205, 95, 181)
HSLhsl(313, 52%, 59%)
HSVhsv(313, 54%, 80%)
CMYKcmyk(0%, 53.7%, 11.7%, 19.6%)
CIE-LABlab(56.59, 54.20, -25.41)
CIE-LCHlch(56.59, 59.86, 334.88°)
OKLaboklab(64.8% 0.158 -0.0687)
OKLCHoklch(64.8% 0.172 336.5)
XYZxyz(37.6098, 24.5025, 46.4557)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB5 #5FCD77
analogous
#AE5FCD #CD5FB5 #CD5F7E
triadic
#CD5FB5 #B5CD5F #5FB5CD
tetradic
#CD5FB5 #CDAE5F #5FCD77 #5F7ECD
square
#CD5FB5 #CDAE5F #5FCD77 #5F7ECD
split-complementary
#CD5FB5 #7ECD5F #5FCDAE
monochromatic
#872A73 #B6399B #CD5FB5 #DC8ECB #EABCE0

Accessibility & contrast

On white

3.56
#CD5FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CD5FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB5#FFFFFF#000000##000000
##CD5FB51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB8
Deuteranopia (green-blind)
#808EB2
Tritanopia (blue-blind)
#D66482
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb5;
/* rgb */ color: rgb(205, 95, 181);
/* oklch */ color: oklch(64.8% 0.172 336.5);
Tailwind
colors: {
  custom: {
    50: '#df91cb',
    500: '#cd5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb5;
$custom-light: #df91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb5",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 313.091,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.17225,
    "h": 336.5
  },
  "luminance": 0.245
}

Semantic roles & 50–950 ramp

primary
#CD5FB5
secondary
#AEDAB8
accent
#DC6B4C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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