#CD477D#CD477D

#CD477D is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.176 H 359.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CD477D
RGBrgb(205, 71, 125)
HSLhsl(336, 57%, 54%)
HSVhsv(336, 65%, 80%)
CMYKcmyk(0%, 65.4%, 39%, 19.6%)
CIE-LABlab(50.65, 57.38, -1.40)
CIE-LCHlch(50.65, 57.39, 358.60°)
OKLaboklab(59.75% 0.1755 -0.003)
OKLCHoklch(59.75% 0.176 359)
XYZxyz(31.1338, 18.9699, 21.4201)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD477D #47CD97
analogous
#CD47C0 #CD477D #CD5447
triadic
#CD477D #7DCD47 #477DCD
tetradic
#CD477D #C0CD47 #47CD97 #5447CD
square
#CD477D #C0CD47 #47CD97 #5447CD
split-complementary
#CD477D #47CD54 #47C0CD
monochromatic
#792144 #A92E5F #CD477D #DA779F #E7A7C1

Accessibility & contrast

On white

4.38
#CD477D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD477D#FFFFFF#000000##000000
##CD477D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687E
Deuteranopia (green-blind)
#84827A
Tritanopia (blue-blind)
#DD395D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd477d;
/* rgb */ color: rgb(205, 71, 125);
/* oklch */ color: oklch(59.8% 0.176 359.0);
Tailwind
colors: {
  custom: {
    50: '#e182a2',
    500: '#cd477d',
    950: '#000000',
  },
}
SCSS
$custom: #cd477d;
$custom-light: #e182a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd477d",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 335.821,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.17555,
    "h": 359
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#CD477D
secondary
#9BD4BD
accent
#E1A347
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CD477D

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

Preview Lab → · Contrast checker → · Palette generator →

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