#CD4FB2#CD4FB2

#CD4FB2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.194 H 337.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CD4FB2
RGBrgb(205, 79, 178)
HSLhsl(313, 56%, 56%)
HSVhsv(313, 61%, 80%)
CMYKcmyk(0%, 61.5%, 13.2%, 19.6%)
CIE-LABlab(53.80, 60.92, -27.98)
CIE-LCHlch(53.80, 67.04, 335.33°)
OKLaboklab(62.71% 0.1786 -0.0758)
OKLCHoklch(62.71% 0.194 337)
XYZxyz(36.0092, 21.7884, 44.4199)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FB2 #4FCD6A
analogous
#A94FCD #CD4FB2 #CD4F73
triadic
#CD4FB2 #B2CD4F #4FB2CD
tetradic
#CD4FB2 #CDA94F #4FCD6A #4F73CD
square
#CD4FB2 #CDA94F #4FCD6A #4F73CD
split-complementary
#CD4FB2 #73CD4F #4FCDA9
monochromatic
#7E246B #AE3193 #CD4FB2 #DB7FC7 #E8AEDC

Accessibility & contrast

On white

3.92
#CD4FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CD4FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FB2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FB2#FFFFFF#000000##000000
##CD4FB21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#D75579
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd4fb2;
/* rgb */ color: rgb(205, 79, 178);
/* oklch */ color: oklch(62.7% 0.194 337.0);
Tailwind
colors: {
  custom: {
    50: '#df88c9',
    500: '#cd4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fb2;
$custom-light: #df88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fb2",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 312.857,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62706,
    "c": 0.19403,
    "h": 337
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#CD4FB2
secondary
#A2D6AD
accent
#DF6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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