#CD4C8B#CD4C8B

#CD4C8B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.175 H 353.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4C8B
RGBrgb(205, 76, 139)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 62.9%, 32.2%, 19.6%)
CIE-LABlab(51.85, 56.88, -8.00)
CIE-LCHlch(51.85, 57.44, 351.99°)
OKLaboklab(60.79% 0.1734 -0.0205)
OKLCHoklch(60.79% 0.175 353.3)
XYZxyz(32.4231, 20.0156, 26.5770)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4C8B #4CCD8E
analogous
#CD4CCB #CD4C8B #CD4E4C
triadic
#CD4C8B #8BCD4C #4C8BCD
tetradic
#CD4C8B #CBCD4C #4CCD8E #4E4CCD
square
#CD4C8B #CBCD4C #4CCD8E #4E4CCD
split-complementary
#CD4C8B #4CCD4E #4CCBCD
monochromatic
#7C234E #AC306C #CD4C8B #DA7CAA #E8ACC9

Accessibility & contrast

On white

4.20
#CD4C8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CD4C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4C8B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4C8B#FFFFFF#000000##000000
##CD4C8B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd4c8b;
/* rgb */ color: rgb(205, 76, 139);
/* oklch */ color: oklch(60.8% 0.175 353.3);
Tailwind
colors: {
  custom: {
    50: '#e085ac',
    500: '#cd4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #cd4c8b;
$custom-light: #e085ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4c8b",
  "rgb": {
    "r": 205,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 330.698,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.1746,
    "h": 353.3
  },
  "luminance": 0.20012
}

Semantic roles & 50–950 ramp

primary
#CD4C8B
secondary
#9FD5BB
accent
#E09648
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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