#CD5FA1#CD5FA1

#CD5FA1 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.158 H 345.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA1
RGBrgb(205, 95, 161)
HSLhsl(324, 52%, 59%)
HSVhsv(324, 54%, 80%)
CMYKcmyk(0%, 53.7%, 21.5%, 19.6%)
CIE-LABlab(55.83, 51.17, -14.98)
CIE-LCHlch(55.83, 53.32, 343.68°)
OKLaboklab(63.98% 0.1532 -0.0396)
OKLCHoklch(63.98% 0.158 345.5)
XYZxyz(35.7030, 23.7398, 36.4132)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA1 #5FCD8B
analogous
#C25FCD #CD5FA1 #CD5F6A
triadic
#CD5FA1 #A1CD5F #5FA1CD
tetradic
#CD5FA1 #CDC25F #5FCD8B #5F6ACD
square
#CD5FA1 #CDC25F #5FCD8B #5F6ACD
split-complementary
#CD5FA1 #6ACD5F #5FCDC2
monochromatic
#872A62 #B63984 #CD5FA1 #DC8EBC #EABCD8

Accessibility & contrast

On white

3.65
#CD5FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CD5FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA1#FFFFFF#000000##000000
##CD5FA11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697AA3
Deuteranopia (green-blind)
#878D9E
Tritanopia (blue-blind)
#D95E79
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa1;
/* rgb */ color: rgb(205, 95, 161);
/* oklch */ color: oklch(64.0% 0.158 345.5);
Tailwind
colors: {
  custom: {
    50: '#df91bc',
    500: '#cd5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa1;
$custom-light: #df91bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa1",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 324,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.15823,
    "h": 345.5
  },
  "luminance": 0.23737
}

Semantic roles & 50–950 ramp

primary
#CD5FA1
secondary
#AEDAC0
accent
#DC864C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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