#CD5FA2#CD5FA2

#CD5FA2 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.0% C 0.159 H 345.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CD5FA2
RGBrgb(205, 95, 162)
HSLhsl(323, 52%, 59%)
HSVhsv(323, 54%, 80%)
CMYKcmyk(0%, 53.7%, 21%, 19.6%)
CIE-LABlab(55.86, 51.31, -15.51)
CIE-LCHlch(55.86, 53.61, 343.18°)
OKLaboklab(64.02% 0.1535 -0.0411)
OKLCHoklch(64.02% 0.159 345)
XYZxyz(35.7915, 23.7752, 36.8794)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FA2 #5FCD8A
analogous
#C15FCD #CD5FA2 #CD5F6B
triadic
#CD5FA2 #A2CD5F #5FA2CD
tetradic
#CD5FA2 #CDC15F #5FCD8A #5F6BCD
square
#CD5FA2 #CDC15F #5FCD8A #5F6BCD
split-complementary
#CD5FA2 #6BCD5F #5FCDC1
monochromatic
#872A63 #B63985 #CD5FA2 #DC8EBD #EABCD8

Accessibility & contrast

On white

3.65
#CD5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CD5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FA2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FA2#FFFFFF#000000##000000
##CD5FA21.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#878D9F
Tritanopia (blue-blind)
#D95E79
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd5fa2;
/* rgb */ color: rgb(205, 95, 162);
/* oklch */ color: oklch(64.0% 0.159 345.0);
Tailwind
colors: {
  custom: {
    50: '#df91bd',
    500: '#cd5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fa2;
$custom-light: #df91bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fa2",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 323.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64022,
    "c": 0.15885,
    "h": 345
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#CD5FA2
secondary
#AEDABF
accent
#DC844C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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