#CD477C#CD477C

#CD477C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.175 H 359.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD477C
RGBrgb(205, 71, 124)
HSLhsl(336, 57%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65.4%, 39.5%, 19.6%)
CIE-LABlab(50.62, 57.27, -0.84)
CIE-LCHlch(50.62, 57.27, 359.16°)
OKLaboklab(59.72% 0.1752 -0.0015)
OKLCHoklch(59.72% 0.175 359.5)
XYZxyz(31.0702, 18.9445, 21.0853)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD477C #47CD98
analogous
#CD47BF #CD477C #CD5547
triadic
#CD477C #7CCD47 #477CCD
tetradic
#CD477C #BFCD47 #47CD98 #5547CD
square
#CD477C #BFCD47 #47CD98 #5547CD
split-complementary
#CD477C #47CD55 #47BFCD
monochromatic
#792144 #A92E5F #CD477C #DA779E #E7A7C1

Accessibility & contrast

On white

4.39
#CD477C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CD477C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD477C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD477C#FFFFFF#000000##000000
##CD477C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687D
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#DD395C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd477c;
/* rgb */ color: rgb(205, 71, 124);
/* oklch */ color: oklch(59.7% 0.175 359.5);
Tailwind
colors: {
  custom: {
    50: '#e182a1',
    500: '#cd477c',
    950: '#000000',
  },
}
SCSS
$custom: #cd477c;
$custom-light: #e182a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd477c",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 336.269,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.17521,
    "h": 359.5
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#CD477C
secondary
#9BD4BE
accent
#E1A447
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD477C

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

Preview Lab → · Contrast checker → · Palette generator →

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