#CD4FAF#CD4FAF

#CD4FAF is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.6% C 0.192 H 338.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CD4FAF
RGBrgb(205, 79, 175)
HSLhsl(314, 56%, 56%)
HSVhsv(314, 61%, 80%)
CMYKcmyk(0%, 61.5%, 14.6%, 19.6%)
CIE-LABlab(53.67, 60.47, -26.44)
CIE-LCHlch(53.67, 66.00, 336.39°)
OKLaboklab(62.57% 0.1781 -0.0714)
OKLCHoklch(62.57% 0.192 338.1)
XYZxyz(35.7113, 21.6693, 42.8509)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FAF #4FCD6D
analogous
#AC4FCD #CD4FAF #CD4F70
triadic
#CD4FAF #AFCD4F #4FAFCD
tetradic
#CD4FAF #CDAC4F #4FCD6D #4F70CD
square
#CD4FAF #CDAC4F #4FCD6D #4F70CD
split-complementary
#CD4FAF #70CD4F #4FCDAC
monochromatic
#7E2468 #AE3190 #CD4FAF #DB7FC5 #E8AEDA

Accessibility & contrast

On white

3.94
#CD4FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CD4FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FAF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FAF#FFFFFF#000000##000000
##CD4FAF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5374B2
Deuteranopia (green-blind)
#7A87AC
Tritanopia (blue-blind)
#D85478
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4faf;
/* rgb */ color: rgb(205, 79, 175);
/* oklch */ color: oklch(62.6% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#df88c7',
    500: '#cd4faf',
    950: '#000000',
  },
}
SCSS
$custom: #cd4faf;
$custom-light: #df88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4faf",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 314.286,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62571,
    "c": 0.19188,
    "h": 338.1
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#CD4FAF
secondary
#A2D6AE
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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