#CD4D7E#CD4D7E

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

Color values

HEX#CD4D7E
RGBrgb(205, 77, 126)
HSLhsl(337, 56%, 55%)
HSVhsv(337, 62%, 80%)
CMYKcmyk(0%, 62.4%, 38.5%, 19.6%)
CIE-LABlab(51.61, 54.97, -0.60)
CIE-LCHlch(51.61, 54.97, 359.37°)
OKLaboklab(60.47% 0.1679 -0.0009)
OKLCHoklch(60.47% 0.168 359.7)
XYZxyz(31.5986, 19.7968, 21.8917)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4D7E #4DCD9C
analogous
#CD4DBE #CD4D7E #CD5C4D
triadic
#CD4D7E #7ECD4D #4D7ECD
tetradic
#CD4D7E #BECD4D #4DCD9C #5C4DCD
square
#CD4D7E #BECD4D #4DCD9C #5C4DCD
split-complementary
#CD4D7E #4DCD5C #4DBECD
monochromatic
#7D2345 #AC3060 #CD4D7E #DA7DA1 #E8ADC3

Accessibility & contrast

On white

4.24
#CD4D7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4D7E#FFFFFF#000000##000000
##CD4D7E1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#DD4060
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4d7e;
/* rgb */ color: rgb(205, 77, 126);
/* oklch */ color: oklch(60.5% 0.168 359.7);
Tailwind
colors: {
  custom: {
    50: '#e185a3',
    500: '#cd4d7e',
    950: '#000000',
  },
}
SCSS
$custom: #cd4d7e;
$custom-light: #e185a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4d7e",
  "rgb": {
    "r": 205,
    "g": 77,
    "b": 126
  },
  "hsl": {
    "h": 337.031,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.16794,
    "h": 359.7
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD4D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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