#CD5FA9#CD5FA9

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

Color values

HEX#CD5FA9
RGBrgb(205, 95, 169)
HSLhsl(320, 52%, 59%)
HSVhsv(320, 54%, 80%)
CMYKcmyk(0%, 53.7%, 17.6%, 19.6%)
CIE-LABlab(56.12, 52.35, -19.19)
CIE-LCHlch(56.12, 55.75, 339.86°)
OKLaboklab(64.3% 0.1553 -0.0512)
OKLCHoklch(64.3% 0.163 341.7)
XYZxyz(36.4312, 24.0310, 40.2481)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA9 #5FCD83
analogous
#BA5FCD #CD5FA9 #CD5F72
triadic
#CD5FA9 #A9CD5F #5FA9CD
tetradic
#CD5FA9 #CDBA5F #5FCD83 #5F72CD
square
#CD5FA9 #CDBA5F #5FCD83 #5F72CD
split-complementary
#CD5FA9 #72CD5F #5FCDBA
monochromatic
#872A69 #B6398D #CD5FA9 #DC8EC2 #EABCDB

Accessibility & contrast

On white

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

On black

5.81
#CD5FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA9#FFFFFF#000000##000000
##CD5FA91.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAB
Deuteranopia (green-blind)
#848DA6
Tritanopia (blue-blind)
#D8607C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa9;
/* rgb */ color: rgb(205, 95, 169);
/* oklch */ color: oklch(64.3% 0.163 341.7);
Tailwind
colors: {
  custom: {
    50: '#df91c2',
    500: '#cd5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa9;
$custom-light: #df91c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa9",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 319.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64297,
    "c": 0.16349,
    "h": 341.7
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#CD5FA9
secondary
#AEDABC
accent
#DC7B4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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