#CD5FAF#CD5FAF

#CD5FAF is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.5% C 0.168 H 339.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CD5FAF
RGBrgb(205, 95, 175)
HSLhsl(316, 52%, 59%)
HSVhsv(316, 54%, 80%)
CMYKcmyk(0%, 53.7%, 14.6%, 19.6%)
CIE-LABlab(56.35, 53.26, -22.32)
CIE-LCHlch(56.35, 57.75, 337.27°)
OKLaboklab(64.54% 0.1567 -0.06)
OKLCHoklch(64.54% 0.168 339)
XYZxyz(37.0074, 24.2615, 43.2829)
Luminance0.2426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FAF #5FCD7D
analogous
#B45FCD #CD5FAF #CD5F78
triadic
#CD5FAF #AFCD5F #5FAFCD
tetradic
#CD5FAF #CDB45F #5FCD7D #5F78CD
square
#CD5FAF #CDB45F #5FCD7D #5F78CD
split-complementary
#CD5FAF #78CD5F #5FCDB4
monochromatic
#872A6E #B63994 #CD5FAF #DC8EC6 #EABCDE

Accessibility & contrast

On white

3.59
#CD5FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CD5FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FAF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FAF#FFFFFF#000000##000000
##CD5FAF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB2
Deuteranopia (green-blind)
#828DAC
Tritanopia (blue-blind)
#D7627F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd5faf;
/* rgb */ color: rgb(205, 95, 175);
/* oklch */ color: oklch(64.5% 0.168 339.0);
Tailwind
colors: {
  custom: {
    50: '#df91c7',
    500: '#cd5faf',
    950: '#000000',
  },
}
SCSS
$custom: #cd5faf;
$custom-light: #df91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5faf",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 316.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64543,
    "c": 0.16775,
    "h": 339
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

primary
#CD5FAF
secondary
#AEDABA
accent
#DC734C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D13
muted
#847E82

Preview Lab

Preview with #CD5FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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