#CD4E7C#CD4E7C

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

Color values

HEX#CD4E7C
RGBrgb(205, 78, 124)
HSLhsl(338, 56%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 62%, 39.5%, 19.6%)
CIE-LABlab(51.71, 54.32, 0.74)
CIE-LCHlch(51.71, 54.32, 0.78°)
OKLaboklab(60.53% 0.1659 0.0026)
OKLCHoklch(60.53% 0.166 0.9)
XYZxyz(31.5413, 19.8867, 21.2424)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4E7C #4ECD9F
analogous
#CD4EBB #CD4E7C #CD604E
triadic
#CD4E7C #7CCD4E #4E7CCD
tetradic
#CD4E7C #BBCD4E #4ECD9F #604ECD
square
#CD4E7C #BBCD4E #4ECD9F #604ECD
split-complementary
#CD4E7C #4ECD60 #4EBBCD
monochromatic
#7D2344 #AD315E #CD4E7C #DA7E9F #E8ADC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4E7C#FFFFFF#000000##000000
##CD4E7C1.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)
#666C7D
Deuteranopia (green-blind)
#878479
Tritanopia (blue-blind)
#DD4160
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd4e7c;
/* rgb */ color: rgb(205, 78, 124);
/* oklch */ color: oklch(60.5% 0.166 0.9);
Tailwind
colors: {
  custom: {
    50: '#e186a1',
    500: '#cd4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cd4e7c;
$custom-light: #e186a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4e7c",
  "rgb": {
    "r": 205,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 338.268,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.16592,
    "h": 0.9
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#CD4E7C
secondary
#A1D6C3
accent
#DFA949
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CD4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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