#CD4E7D#CD4E7D

#CD4E7D is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.166 H 0.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD4E7D
RGBrgb(205, 78, 125)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 62%, 39%, 19.6%)
CIE-LABlab(51.74, 54.42, 0.19)
CIE-LCHlch(51.74, 54.42, 0.20°)
OKLaboklab(60.56% 0.1662 0.0012)
OKLCHoklch(60.56% 0.166 0.4)
XYZxyz(31.6049, 19.9122, 21.5771)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E7D #4ECD9E
analogous
#CD4EBD #CD4E7D #CD5E4E
triadic
#CD4E7D #7DCD4E #4E7DCD
tetradic
#CD4E7D #BDCD4E #4ECD9E #5E4ECD
square
#CD4E7D #BDCD4E #4ECD9E #5E4ECD
split-complementary
#CD4E7D #4ECD5E #4EBDCD
monochromatic
#7D2345 #AD315F #CD4E7D #DA7EA0 #E8ADC3

Accessibility & contrast

On white

4.22
#CD4E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD4E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4E7D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4E7D#FFFFFF#000000##000000
##CD4E7D1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DD4160
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e7d;
/* rgb */ color: rgb(205, 78, 125);
/* oklch */ color: oklch(60.6% 0.166 0.4);
Tailwind
colors: {
  custom: {
    50: '#e186a2',
    500: '#cd4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e7d;
$custom-light: #e186a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e7d",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 337.795,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.16624,
    "h": 0.4
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#CD4E7D
secondary
#A1D6C2
accent
#DFA749
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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