#CD4FA5#CD4FA5

#CD4FA5 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.185 H 342.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CD4FA5
RGBrgb(205, 79, 165)
HSLhsl(319, 56%, 56%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 61.5%, 19.5%, 19.6%)
CIE-LABlab(53.27, 59.02, -21.22)
CIE-LCHlch(53.27, 62.72, 340.22°)
OKLaboklab(62.14% 0.1761 -0.0568)
OKLCHoklch(62.14% 0.185 342.1)
XYZxyz(34.7653, 21.2908, 37.8686)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FA5 #4FCD77
analogous
#B64FCD #CD4FA5 #CD4F66
triadic
#CD4FA5 #A5CD4F #4FA5CD
tetradic
#CD4FA5 #CDB64F #4FCD77 #4F66CD
square
#CD4FA5 #CDB64F #4FCD77 #4F66CD
split-complementary
#CD4FA5 #66CD4F #4FCDB6
monochromatic
#7E2461 #AE3186 #CD4FA5 #DB7FBD #E8AED6

Accessibility & contrast

On white

3.99
#CD4FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CD4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FA5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FA5#FFFFFF#000000##000000
##CD4FA51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#7D87A2
Tritanopia (blue-blind)
#D95073
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4fa5;
/* rgb */ color: rgb(205, 79, 165);
/* oklch */ color: oklch(62.1% 0.185 342.1);
Tailwind
colors: {
  custom: {
    50: '#e087c0',
    500: '#cd4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fa5;
$custom-light: #e087c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fa5",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 319.048,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.18506,
    "h": 342.1
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#CD4FA5
secondary
#A2D6B2
accent
#DF7849
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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