#CD5FA7#CD5FA7

#CD5FA7 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.2% C 0.162 H 342.7°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA7
RGBrgb(205, 95, 167)
HSLhsl(321, 52%, 59%)
HSVhsv(321, 54%, 80%)
CMYKcmyk(0%, 53.7%, 18.5%, 19.6%)
CIE-LABlab(56.04, 52.05, -18.14)
CIE-LCHlch(56.04, 55.12, 340.78°)
OKLaboklab(64.22% 0.1548 -0.0483)
OKLCHoklch(64.22% 0.162 342.7)
XYZxyz(36.2449, 23.9565, 39.2669)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA7 #5FCD85
analogous
#BC5FCD #CD5FA7 #CD5F70
triadic
#CD5FA7 #A7CD5F #5FA7CD
tetradic
#CD5FA7 #CDBC5F #5FCD85 #5F70CD
square
#CD5FA7 #CDBC5F #5FCD85 #5F70CD
split-complementary
#CD5FA7 #70CD5F #5FCDBC
monochromatic
#872A67 #B6398B #CD5FA7 #DC8EC1 #EABCDA

Accessibility & contrast

On white

3.63
#CD5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA7#FFFFFF#000000##000000
##CD5FA71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#858DA4
Tritanopia (blue-blind)
#D85F7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa7;
/* rgb */ color: rgb(205, 95, 167);
/* oklch */ color: oklch(64.2% 0.162 342.7);
Tailwind
colors: {
  custom: {
    50: '#df91c1',
    500: '#cd5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa7;
$custom-light: #df91c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa7",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 320.727,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64217,
    "c": 0.16212,
    "h": 342.7
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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