#CD4D8F#CD4D8F

#CD4D8F is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.175 H 351.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CD4D8F
RGBrgb(205, 77, 143)
HSLhsl(329, 56%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 62.4%, 30.2%, 19.6%)
CIE-LABlab(52.15, 56.95, -9.94)
CIE-LCHlch(52.15, 57.81, 350.09°)
OKLaboklab(61.05% 0.1732 -0.0257)
OKLCHoklch(61.05% 0.175 351.6)
XYZxyz(32.7902, 20.2735, 28.1676)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D8F #4DCD8B
analogous
#CB4DCD #CD4D8F #CD4D4F
triadic
#CD4D8F #8FCD4D #4D8FCD
tetradic
#CD4D8F #CDCB4D #4DCD8B #4D4FCD
square
#CD4D8F #CDCB4D #4DCD8B #4D4FCD
split-complementary
#CD4D8F #4FCD4D #4DCDCB
monochromatic
#7D2351 #AC3070 #CD4D8F #DA7DAD #E8ADCB

Accessibility & contrast

On white

4.16
#CD4D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CD4D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D8F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D8F#FFFFFF#000000##000000
##CD4D8F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#83858C
Tritanopia (blue-blind)
#DB4668
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd4d8f;
/* rgb */ color: rgb(205, 77, 143);
/* oklch */ color: oklch(61.0% 0.175 351.6);
Tailwind
colors: {
  custom: {
    50: '#e086af',
    500: '#cd4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d8f;
$custom-light: #e086af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d8f",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 329.063,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.17514,
    "h": 351.6
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#CD4D8F
secondary
#A0D6BA
accent
#DF9248
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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