#CD47AC#CD47AC

#CD47AC is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.6% C 0.201 H 338.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD47AC
RGBrgb(205, 71, 172)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65.4%, 16.1%, 19.6%)
CIE-LABlab(52.36, 63.30, -26.72)
CIE-LCHlch(52.36, 68.71, 337.12°)
OKLaboklab(61.57% 0.1873 -0.0722)
OKLCHoklch(61.57% 0.201 338.9)
XYZxyz(34.8772, 20.4673, 41.1354)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47AC #47CD68
analogous
#AB47CD #CD47AC #CD4769
triadic
#CD47AC #ACCD47 #47ACCD
tetradic
#CD47AC #CDAB47 #47CD68 #4769CD
square
#CD47AC #CDAB47 #47CD68 #4769CD
split-complementary
#CD47AC #69CD47 #47CDAB
monochromatic
#792163 #A92E8B #CD47AC #DA77C2 #E7A7D7

Accessibility & contrast

On white

4.12
#CD47AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CD47AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47AC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47AC#FFFFFF#000000##000000
##CD47AC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#7785A9
Tritanopia (blue-blind)
#D84C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47ac;
/* rgb */ color: rgb(205, 71, 172);
/* oklch */ color: oklch(61.6% 0.201 338.9);
Tailwind
colors: {
  custom: {
    50: '#e083c5',
    500: '#cd47ac',
    950: '#000000',
  },
}
SCSS
$custom: #cd47ac;
$custom-light: #e083c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47ac",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 314.776,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.20076,
    "h": 338.9
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#CD47AC
secondary
#9BD4A9
accent
#E16D47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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