#CD47AB#CD47AB

#CD47AB is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.200 H 339.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CD47AB
RGBrgb(205, 71, 171)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 65.4%, 16.6%, 19.6%)
CIE-LABlab(52.32, 63.16, -26.20)
CIE-LCHlch(52.32, 68.38, 337.47°)
OKLaboklab(61.52% 0.1872 -0.0707)
OKLCHoklch(61.52% 0.2 339.3)
XYZxyz(34.7815, 20.4290, 40.6316)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47AB #47CD69
analogous
#AC47CD #CD47AB #CD4768
triadic
#CD47AB #ABCD47 #47ABCD
tetradic
#CD47AB #CDAC47 #47CD69 #4768CD
square
#CD47AB #CDAC47 #47CD69 #4768CD
split-complementary
#CD47AB #68CD47 #47CDAC
monochromatic
#792162 #A92E8A #CD47AB #DA77C1 #E7A7D7

Accessibility & contrast

On white

4.13
#CD47AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD47AB#FFFFFF#000000##000000
##CD47AB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#7785A8
Tritanopia (blue-blind)
#D84B73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47ab;
/* rgb */ color: rgb(205, 71, 171);
/* oklch */ color: oklch(61.5% 0.200 339.3);
Tailwind
colors: {
  custom: {
    50: '#e083c4',
    500: '#cd47ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd47ab;
$custom-light: #e083c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47ab",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 315.224,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61524,
    "c": 0.20008,
    "h": 339.3
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#CD47AB
secondary
#9BD4AA
accent
#E16E47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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