#CD4FA7#CD4FA7

#CD4FA7 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.186 H 341.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CD4FA7
RGBrgb(205, 79, 167)
HSLhsl(318, 56%, 56%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61.5%, 18.5%, 19.6%)
CIE-LABlab(53.35, 59.30, -22.27)
CIE-LCHlch(53.35, 63.35, 339.41°)
OKLaboklab(62.22% 0.1766 -0.0597)
OKLCHoklch(62.22% 0.186 341.3)
XYZxyz(34.9487, 21.3642, 38.8348)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FA7 #4FCD75
analogous
#B44FCD #CD4FA7 #CD4F68
triadic
#CD4FA7 #A7CD4F #4FA7CD
tetradic
#CD4FA7 #CDB44F #4FCD75 #4F68CD
square
#CD4FA7 #CDB44F #4FCD75 #4F68CD
split-complementary
#CD4FA7 #68CD4F #4FCDB4
monochromatic
#7E2463 #AE3188 #CD4FA7 #DB7FBF #E8AED7

Accessibility & contrast

On white

3.98
#CD4FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CD4FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FA7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FA7#FFFFFF#000000##000000
##CD4FA71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#7D87A4
Tritanopia (blue-blind)
#D95174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4fa7;
/* rgb */ color: rgb(205, 79, 167);
/* oklch */ color: oklch(62.2% 0.186 341.3);
Tailwind
colors: {
  custom: {
    50: '#df88c1',
    500: '#cd4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fa7;
$custom-light: #df88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fa7",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 318.095,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.18638,
    "h": 341.3
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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