#CD4FAB#CD4FAB

#CD4FAB is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.4% C 0.189 H 339.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CD4FAB
RGBrgb(205, 79, 171)
HSLhsl(316, 56%, 56%)
HSVhsv(316, 61%, 80%)
CMYKcmyk(0%, 61.5%, 16.6%, 19.6%)
CIE-LABlab(53.51, 59.88, -24.36)
CIE-LCHlch(53.51, 64.65, 337.86°)
OKLaboklab(62.39% 0.1774 -0.0656)
OKLCHoklch(62.39% 0.189 339.7)
XYZxyz(35.3242, 21.5144, 40.8125)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FAB #4FCD71
analogous
#B04FCD #CD4FAB #CD4F6C
triadic
#CD4FAB #ABCD4F #4FABCD
tetradic
#CD4FAB #CDB04F #4FCD71 #4F6CCD
square
#CD4FAB #CDB04F #4FCD71 #4F6CCD
split-complementary
#CD4FAB #6CCD4F #4FCDB0
monochromatic
#7E2466 #AE318C #CD4FAB #DB7FC2 #E8AED8

Accessibility & contrast

On white

3.96
#CD4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CD4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FAB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FAB#FFFFFF#000000##000000
##CD4FAB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#D85276
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd4fab;
/* rgb */ color: rgb(205, 79, 171);
/* oklch */ color: oklch(62.4% 0.189 339.7);
Tailwind
colors: {
  custom: {
    50: '#df88c4',
    500: '#cd4fab',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fab;
$custom-light: #df88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fab",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 316.19,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62394,
    "c": 0.18909,
    "h": 339.7
  },
  "luminance": 0.21511
}

Semantic roles & 50–950 ramp

primary
#CD4FAB
secondary
#A2D6B0
accent
#DF7149
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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