#CD5FAB#CD5FAB

#CD5FAB is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.165 H 340.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CD5FAB
RGBrgb(205, 95, 171)
HSLhsl(319, 52%, 59%)
HSVhsv(319, 54%, 80%)
CMYKcmyk(0%, 53.7%, 16.6%, 19.6%)
CIE-LABlab(56.19, 52.65, -20.24)
CIE-LCHlch(56.19, 56.40, 338.97°)
OKLaboklab(64.38% 0.1557 -0.0542)
OKLCHoklch(64.38% 0.165 340.8)
XYZxyz(36.6204, 24.1067, 41.2445)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FAB #5FCD81
analogous
#B85FCD #CD5FAB #CD5F74
triadic
#CD5FAB #ABCD5F #5FABCD
tetradic
#CD5FAB #CDB85F #5FCD81 #5F74CD
square
#CD5FAB #CDB85F #5FCD81 #5F74CD
split-complementary
#CD5FAB #74CD5F #5FCDB8
monochromatic
#872A6B #B6398F #CD5FAB #DC8EC3 #EABCDC

Accessibility & contrast

On white

3.61
#CD5FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CD5FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FAB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FAB#FFFFFF#000000##000000
##CD5FAB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAD
Deuteranopia (green-blind)
#848DA8
Tritanopia (blue-blind)
#D8617D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5fab;
/* rgb */ color: rgb(205, 95, 171);
/* oklch */ color: oklch(64.4% 0.165 340.8);
Tailwind
colors: {
  custom: {
    50: '#df91c4',
    500: '#cd5fab',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fab;
$custom-light: #df91c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fab",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 318.545,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64378,
    "c": 0.16488,
    "h": 340.8
  },
  "luminance": 0.24104
}

Semantic roles & 50–950 ramp

primary
#CD5FAB
secondary
#AEDABC
accent
#DC784C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D12
muted
#847E81

Preview Lab

Preview with #CD5FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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