#CD5FB7#CD5FB7

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

Color values

HEX#CD5FB7
RGBrgb(205, 95, 183)
HSLhsl(312, 52%, 59%)
HSVhsv(312, 54%, 80%)
CMYKcmyk(0%, 53.7%, 10.7%, 19.6%)
CIE-LABlab(56.67, 54.52, -26.44)
CIE-LCHlch(56.67, 60.59, 334.13°)
OKLaboklab(64.89% 0.1584 -0.0716)
OKLCHoklch(64.89% 0.174 335.7)
XYZxyz(37.8165, 24.5852, 47.5442)
Luminance0.2458 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FB7 #5FCD75
analogous
#AC5FCD #CD5FB7 #CD5F80
triadic
#CD5FB7 #B7CD5F #5FB7CD
tetradic
#CD5FB7 #CDAC5F #5FCD75 #5F80CD
square
#CD5FB7 #CDAC5F #5FCD75 #5F80CD
split-complementary
#CD5FB7 #80CD5F #5FCDAC
monochromatic
#872A75 #B6399D #CD5FB7 #DC8ECC #EABCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5FB7#FFFFFF#000000##000000
##CD5FB71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607EBA
Deuteranopia (green-blind)
#808EB4
Tritanopia (blue-blind)
#D66483
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5fb7;
/* rgb */ color: rgb(205, 95, 183);
/* oklch */ color: oklch(64.9% 0.174 335.7);
Tailwind
colors: {
  custom: {
    50: '#df91cd',
    500: '#cd5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fb7;
$custom-light: #df91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fb7",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 312,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64885,
    "c": 0.17379,
    "h": 335.7
  },
  "luminance": 0.24582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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