#CD47A9#CD47A9

#CD47A9 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.199 H 340.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CD47A9
RGBrgb(205, 71, 169)
HSLhsl(316, 57%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 65.4%, 17.6%, 19.6%)
CIE-LABlab(52.23, 62.87, -25.16)
CIE-LCHlch(52.23, 67.72, 338.19°)
OKLaboklab(61.43% 0.1868 -0.0678)
OKLCHoklch(61.43% 0.199 340.1)
XYZxyz(34.5923, 20.3533, 39.6352)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47A9 #47CD6B
analogous
#AE47CD #CD47A9 #CD4766
triadic
#CD47A9 #A9CD47 #47A9CD
tetradic
#CD47A9 #CDAE47 #47CD6B #4766CD
square
#CD47A9 #CDAE47 #47CD6B #4766CD
split-complementary
#CD47A9 #66CD47 #47CDAE
monochromatic
#792161 #A92E88 #CD47A9 #DA77BF #E7A7D6

Accessibility & contrast

On white

4.14
#CD47A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CD47A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47A9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47A9#FFFFFF#000000##000000
##CD47A91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#7884A6
Tritanopia (blue-blind)
#D94A72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47a9;
/* rgb */ color: rgb(205, 71, 169);
/* oklch */ color: oklch(61.4% 0.199 340.1);
Tailwind
colors: {
  custom: {
    50: '#e083c2',
    500: '#cd47a9',
    950: '#000000',
  },
}
SCSS
$custom: #cd47a9;
$custom-light: #e083c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47a9",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 316.119,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.19873,
    "h": 340.1
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#CD47A9
secondary
#9BD4AB
accent
#E17047
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47A9

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

Preview Lab → · Contrast checker → · Palette generator →

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