#CD478F#CD478F

#CD478F is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.183 H 350.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CD478F
RGBrgb(205, 71, 143)
HSLhsl(328, 57%, 54%)
HSVhsv(328, 65%, 80%)
CMYKcmyk(0%, 65.4%, 30.2%, 19.6%)
CIE-LABlab(51.24, 59.43, -11.31)
CIE-LCHlch(51.24, 60.50, 349.22°)
OKLaboklab(60.37% 0.181 -0.0294)
OKLCHoklch(60.37% 0.183 350.8)
XYZxyz(32.3896, 19.4722, 28.0341)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD478F #47CD85
analogous
#C847CD #CD478F #CD474C
triadic
#CD478F #8FCD47 #478FCD
tetradic
#CD478F #CDC847 #47CD85 #474CCD
square
#CD478F #CDC847 #47CD85 #474CCD
split-complementary
#CD478F #4CCD47 #47CDC8
monochromatic
#792150 #A92E70 #CD478F #DA77AC #E7A7CA

Accessibility & contrast

On white

4.29
#CD478F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CD478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD478F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD478F#FFFFFF#000000##000000
##CD478F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#80838C
Tritanopia (blue-blind)
#DC4065
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd478f;
/* rgb */ color: rgb(205, 71, 143);
/* oklch */ color: oklch(60.4% 0.183 350.8);
Tailwind
colors: {
  custom: {
    50: '#e083af',
    500: '#cd478f',
    950: '#000000',
  },
}
SCSS
$custom: #cd478f;
$custom-light: #e083af;
$custom-dark: #000000;
JSON
{
  "hex": "#cd478f",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 327.761,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60374,
    "c": 0.18334,
    "h": 350.8
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#CD478F
secondary
#9BD4B6
accent
#E18E47
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CD478F

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

Preview Lab → · Contrast checker → · Palette generator →

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