#CD5FA8#CD5FA8

#CD5FA8 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.163 H 342.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA8
RGBrgb(205, 95, 168)
HSLhsl(320, 52%, 59%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.7%, 18%, 19.6%)
CIE-LABlab(56.08, 52.20, -18.67)
CIE-LCHlch(56.08, 55.43, 340.32°)
OKLaboklab(64.26% 0.155 -0.0498)
OKLCHoklch(64.26% 0.163 342.2)
XYZxyz(36.3377, 23.9936, 39.7556)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA8 #5FCD84
analogous
#BB5FCD #CD5FA8 #CD5F71
triadic
#CD5FA8 #A8CD5F #5FA8CD
tetradic
#CD5FA8 #CDBB5F #5FCD84 #5F71CD
square
#CD5FA8 #CDBB5F #5FCD84 #5F71CD
split-complementary
#CD5FA8 #71CD5F #5FCDBB
monochromatic
#872A68 #B6398C #CD5FA8 #DC8EC1 #EABCDB

Accessibility & contrast

On white

3.62
#CD5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CD5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA8#FFFFFF#000000##000000
##CD5FA81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#858DA5
Tritanopia (blue-blind)
#D8607C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa8;
/* rgb */ color: rgb(205, 95, 168);
/* oklch */ color: oklch(64.3% 0.163 342.2);
Tailwind
colors: {
  custom: {
    50: '#df91c2',
    500: '#cd5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa8;
$custom-light: #df91c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa8",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 320.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.1628,
    "h": 342.2
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#CD5FA8
secondary
#AEDABD
accent
#DC7C4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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