#CD47A7#CD47A7

#CD47A7 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.197 H 340.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD47A7
RGBrgb(205, 71, 167)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 65.4%, 18.5%, 19.6%)
CIE-LABlab(52.15, 62.59, -24.11)
CIE-LCHlch(52.15, 67.07, 338.93°)
OKLaboklab(61.35% 0.1865 -0.0648)
OKLCHoklch(61.35% 0.197 340.8)
XYZxyz(34.4060, 20.2788, 38.6539)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47A7 #47CD6D
analogous
#B047CD #CD47A7 #CD4764
triadic
#CD47A7 #A7CD47 #47A7CD
tetradic
#CD47A7 #CDB047 #47CD6D #4764CD
square
#CD47A7 #CDB047 #47CD6D #4764CD
split-complementary
#CD47A7 #64CD47 #47CDB0
monochromatic
#792160 #A92E86 #CD47A7 #DA77BE #E7A7D5

Accessibility & contrast

On white

4.15
#CD47A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47A7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47A7#FFFFFF#000000##000000
##CD47A71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#D94A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd47a7;
/* rgb */ color: rgb(205, 71, 167);
/* oklch */ color: oklch(61.3% 0.197 340.8);
Tailwind
colors: {
  custom: {
    50: '#e083c1',
    500: '#cd47a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd47a7;
$custom-light: #e083c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47a7",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 317.015,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.1974,
    "h": 340.8
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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