#CD47A5#CD47A5

#CD47A5 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.196 H 341.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CD47A5
RGBrgb(205, 71, 165)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 65.4%, 19.5%, 19.6%)
CIE-LABlab(52.07, 62.31, -23.06)
CIE-LCHlch(52.07, 66.44, 339.69°)
OKLaboklab(61.26% 0.1861 -0.0619)
OKLCHoklch(61.26% 0.196 341.6)
XYZxyz(34.2225, 20.2054, 37.6877)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47A5 #47CD6F
analogous
#B247CD #CD47A5 #CD4762
triadic
#CD47A5 #A5CD47 #47A5CD
tetradic
#CD47A5 #CDB247 #47CD6F #4762CD
square
#CD47A5 #CDB247 #47CD6F #4762CD
split-complementary
#CD47A5 #62CD47 #47CDB2
monochromatic
#79215F #A92E84 #CD47A5 #DA77BD #E7A7D4

Accessibility & contrast

On white

4.17
#CD47A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CD47A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47A5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47A5#FFFFFF#000000##000000
##CD47A51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D94970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd47a5;
/* rgb */ color: rgb(205, 71, 165);
/* oklch */ color: oklch(61.3% 0.196 341.6);
Tailwind
colors: {
  custom: {
    50: '#e083c0',
    500: '#cd47a5',
    950: '#000000',
  },
}
SCSS
$custom: #cd47a5;
$custom-light: #e083c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47a5",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 317.91,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.19611,
    "h": 341.6
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#CD47A5
secondary
#9BD4AC
accent
#E17547
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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