#CD5FA6#CD5FA6

#CD5FA6 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.2% C 0.161 H 343.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA6
RGBrgb(205, 95, 166)
HSLhsl(321, 52%, 59%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.7%, 19%, 19.6%)
CIE-LABlab(56.01, 51.90, -17.62)
CIE-LCHlch(56.01, 54.81, 341.25°)
OKLaboklab(64.18% 0.1545 -0.0469)
OKLCHoklch(64.18% 0.161 343.1)
XYZxyz(36.1528, 23.9197, 38.7819)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA6 #5FCD86
analogous
#BD5FCD #CD5FA6 #CD5F6F
triadic
#CD5FA6 #A6CD5F #5FA6CD
tetradic
#CD5FA6 #CDBD5F #5FCD86 #5F6FCD
square
#CD5FA6 #CDBD5F #5FCD86 #5F6FCD
split-complementary
#CD5FA6 #6FCD5F #5FCDBD
monochromatic
#872A66 #B6398A #CD5FA6 #DC8EC0 #EABCDA

Accessibility & contrast

On white

3.63
#CD5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CD5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA6#FFFFFF#000000##000000
##CD5FA61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA8
Deuteranopia (green-blind)
#858DA3
Tritanopia (blue-blind)
#D85F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa6;
/* rgb */ color: rgb(205, 95, 166);
/* oklch */ color: oklch(64.2% 0.161 343.1);
Tailwind
colors: {
  custom: {
    50: '#df91c0',
    500: '#cd5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa6;
$custom-light: #df91c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa6",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 321.273,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64177,
    "c": 0.16146,
    "h": 343.1
  },
  "luminance": 0.23917
}

Semantic roles & 50–950 ramp

primary
#CD5FA6
secondary
#AEDABE
accent
#DC7F4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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