#CD47A4#CD47A4

#CD47A4 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.195 H 342.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CD47A4
RGBrgb(205, 71, 164)
HSLhsl(318, 57%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 65.4%, 20%, 19.6%)
CIE-LABlab(52.03, 62.17, -22.54)
CIE-LCHlch(52.03, 66.13, 340.07°)
OKLaboklab(61.22% 0.1859 -0.0604)
OKLCHoklch(61.22% 0.195 342)
XYZxyz(34.1319, 20.1692, 37.2102)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47A4 #47CD70
analogous
#B347CD #CD47A4 #CD4761
triadic
#CD47A4 #A4CD47 #47A4CD
tetradic
#CD47A4 #CDB347 #47CD70 #4761CD
square
#CD47A4 #CDB347 #47CD70 #4761CD
split-complementary
#CD47A4 #61CD47 #47CDB3
monochromatic
#79215E #A92E83 #CD47A4 #DA77BC #E7A7D4

Accessibility & contrast

On white

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

On black

5.03
#CD47A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47A4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47A4#FFFFFF#000000##000000
##CD47A41.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#D9486F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd47a4;
/* rgb */ color: rgb(205, 71, 164);
/* oklch */ color: oklch(61.2% 0.195 342.0);
Tailwind
colors: {
  custom: {
    50: '#e083bf',
    500: '#cd47a4',
    950: '#000000',
  },
}
SCSS
$custom: #cd47a4;
$custom-light: #e083bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47a4",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 318.358,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.19545,
    "h": 342
  },
  "luminance": 0.20166
}

Semantic roles & 50–950 ramp

primary
#CD47A4
secondary
#9BD4AD
accent
#E17647
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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