#CD4FA8#CD4FA8

#CD4FA8 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.187 H 340.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CD4FA8
RGBrgb(205, 79, 168)
HSLhsl(318, 56%, 56%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61.5%, 18%, 19.6%)
CIE-LABlab(53.39, 59.45, -22.80)
CIE-LCHlch(53.39, 63.67, 339.02°)
OKLaboklab(62.27% 0.1768 -0.0612)
OKLCHoklch(62.27% 0.187 340.9)
XYZxyz(35.0415, 21.4014, 39.3236)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FA8 #4FCD74
analogous
#B34FCD #CD4FA8 #CD4F69
triadic
#CD4FA8 #A8CD4F #4FA8CD
tetradic
#CD4FA8 #CDB34F #4FCD74 #4F69CD
square
#CD4FA8 #CDB34F #4FCD74 #4F69CD
split-complementary
#CD4FA8 #69CD4F #4FCDB3
monochromatic
#7E2463 #AE3189 #CD4FA8 #DB7FC0 #E8AED7

Accessibility & contrast

On white

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

On black

5.28
#CD4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FA8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FA8#FFFFFF#000000##000000
##CD4FA81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#7C87A5
Tritanopia (blue-blind)
#D95174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd4fa8;
/* rgb */ color: rgb(205, 79, 168);
/* oklch */ color: oklch(62.3% 0.187 340.9);
Tailwind
colors: {
  custom: {
    50: '#df88c2',
    500: '#cd4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fa8;
$custom-light: #df88c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fa8",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 317.619,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.18704,
    "h": 340.9
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#CD4FA8
secondary
#A2D6B1
accent
#DF7549
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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