#CD4D8B#CD4D8B

#CD4D8B is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.173 H 353.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD4D8B
RGBrgb(205, 77, 139)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 62.4%, 32.2%, 19.6%)
CIE-LABlab(52.01, 56.46, -7.77)
CIE-LCHlch(52.01, 56.99, 352.17°)
OKLaboklab(60.9% 0.1721 -0.0198)
OKLCHoklch(60.9% 0.173 353.4)
XYZxyz(32.4926, 20.1544, 26.6001)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D8B #4DCD8F
analogous
#CD4DCB #CD4D8B #CD4F4D
triadic
#CD4D8B #8BCD4D #4D8BCD
tetradic
#CD4D8B #CBCD4D #4DCD8F #4F4DCD
square
#CD4D8B #CBCD4D #4DCD8F #4F4DCD
split-complementary
#CD4D8B #4DCD4F #4DCBCD
monochromatic
#7D234E #AC306C #CD4D8B #DA7DAA #E8ADC9

Accessibility & contrast

On white

4.17
#CD4D8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CD4D8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D8B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D8B#FFFFFF#000000##000000
##CD4D8B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DC4566
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d8b;
/* rgb */ color: rgb(205, 77, 139);
/* oklch */ color: oklch(60.9% 0.173 353.4);
Tailwind
colors: {
  custom: {
    50: '#e086ac',
    500: '#cd4d8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d8b;
$custom-light: #e086ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d8b",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 330.938,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.17321,
    "h": 353.4
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#CD4D8B
secondary
#A0D6BC
accent
#DF9648
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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