#CD4D7F#CD4D7F

#CD4D7F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.168 H 359.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD4D7F
RGBrgb(205, 77, 127)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 62%, 80%)
CMYKcmyk(0%, 62.4%, 38%, 19.6%)
CIE-LABlab(51.64, 55.08, -1.16)
CIE-LCHlch(51.64, 55.09, 358.80°)
OKLaboklab(60.5% 0.1683 -0.0023)
OKLCHoklch(60.5% 0.168 359.2)
XYZxyz(31.6634, 19.8228, 22.2333)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D7F #4DCD9B
analogous
#CD4DBF #CD4D7F #CD5B4D
triadic
#CD4D7F #7FCD4D #4D7FCD
tetradic
#CD4D7F #BFCD4D #4DCD9B #5B4DCD
square
#CD4D7F #BFCD4D #4DCD9B #5B4DCD
split-complementary
#CD4D7F #4DCD5B #4DBFCD
monochromatic
#7D2346 #AC3061 #CD4D7F #DA7DA1 #E8ADC4

Accessibility & contrast

On white

4.23
#CD4D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD4D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4D7F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4D7F#FFFFFF#000000##000000
##CD4D7F1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#DD4161
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d7f;
/* rgb */ color: rgb(205, 77, 127);
/* oklch */ color: oklch(60.5% 0.168 359.2);
Tailwind
colors: {
  custom: {
    50: '#e186a4',
    500: '#cd4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d7f;
$custom-light: #e186a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d7f",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 336.563,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.16829,
    "h": 359.2
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#CD4D7F
secondary
#A0D6C1
accent
#DFA448
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CD4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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