#CD5FB4#CD5FB4

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

Color values

HEX#CD5FB4
RGBrgb(205, 95, 180)
HSLhsl(314, 52%, 59%)
HSVhsv(314, 54%, 80%)
CMYKcmyk(0%, 53.7%, 12.2%, 19.6%)
CIE-LABlab(56.55, 54.04, -24.90)
CIE-LCHlch(56.55, 59.50, 335.26°)
OKLaboklab(64.76% 0.1578 -0.0672)
OKLCHoklch(64.76% 0.171 336.9)
XYZxyz(37.5076, 24.4616, 45.9172)
Luminance0.2446 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB4 #5FCD78
analogous
#AF5FCD #CD5FB4 #CD5F7D
triadic
#CD5FB4 #B4CD5F #5FB4CD
tetradic
#CD5FB4 #CDAF5F #5FCD78 #5F7DCD
square
#CD5FB4 #CDAF5F #5FCD78 #5F7DCD
split-complementary
#CD5FB4 #7DCD5F #5FCDAF
monochromatic
#872A72 #B6399A #CD5FB4 #DC8ECA #EABCE0

Accessibility & contrast

On white

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

On black

5.89
#CD5FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FB4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FB4#FFFFFF#000000##000000
##CD5FB41.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB7
Deuteranopia (green-blind)
#818EB1
Tritanopia (blue-blind)
#D76381
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb4;
/* rgb */ color: rgb(205, 95, 180);
/* oklch */ color: oklch(64.8% 0.171 336.9);
Tailwind
colors: {
  custom: {
    50: '#df91ca',
    500: '#cd5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb4;
$custom-light: #df91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb4",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 313.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.17148,
    "h": 336.9
  },
  "luminance": 0.24459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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