#CD477E#CD477E

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

Color values

HEX#CD477E
RGBrgb(205, 71, 126)
HSLhsl(335, 57%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 65.4%, 38.5%, 19.6%)
CIE-LABlab(50.68, 57.48, -1.96)
CIE-LCHlch(50.68, 57.52, 358.05°)
OKLaboklab(59.78% 0.1759 -0.0044)
OKLCHoklch(59.78% 0.176 358.6)
XYZxyz(31.1980, 18.9956, 21.7582)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD477E #47CD96
analogous
#CD47C1 #CD477E #CD5347
triadic
#CD477E #7ECD47 #477ECD
tetradic
#CD477E #C1CD47 #47CD96 #5347CD
square
#CD477E #C1CD47 #47CD96 #5347CD
split-complementary
#CD477E #47CD53 #47C1CD
monochromatic
#792145 #A92E60 #CD477E #DA77A0 #E7A7C1

Accessibility & contrast

On white

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

On black

4.80
#CD477E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD477E
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD477E#FFFFFF#000000##000000
##CD477E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#DD395D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd477e;
/* rgb */ color: rgb(205, 71, 126);
/* oklch */ color: oklch(59.8% 0.176 358.6);
Tailwind
colors: {
  custom: {
    50: '#e182a3',
    500: '#cd477e',
    950: '#000000',
  },
}
SCSS
$custom: #cd477e;
$custom-light: #e182a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd477e",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 335.373,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.17592,
    "h": 358.6
  },
  "luminance": 0.18992
}

Semantic roles & 50–950 ramp

primary
#CD477E
secondary
#9BD4BD
accent
#E1A247
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CD477E

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

Preview Lab → · Contrast checker → · Palette generator →

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