#CD47AF#CD47AF

#CD47AF is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.7% C 0.203 H 337.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CD47AF
RGBrgb(205, 71, 175)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 65.4%, 14.6%, 19.6%)
CIE-LABlab(52.49, 63.74, -28.27)
CIE-LCHlch(52.49, 69.73, 336.08°)
OKLaboklab(61.71% 0.1878 -0.0766)
OKLCHoklch(61.71% 0.203 337.8)
XYZxyz(35.1686, 20.5838, 42.6700)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47AF #47CD65
analogous
#A847CD #CD47AF #CD476C
triadic
#CD47AF #AFCD47 #47AFCD
tetradic
#CD47AF #CDA847 #47CD65 #476CCD
square
#CD47AF #CDA847 #47CD65 #476CCD
split-complementary
#CD47AF #6CCD47 #47CDA8
monochromatic
#792165 #A92E8D #CD47AF #DA77C4 #E7A7D9

Accessibility & contrast

On white

4.10
#CD47AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CD47AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47AF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47AF#FFFFFF#000000##000000
##CD47AF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#D84D75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47af;
/* rgb */ color: rgb(205, 71, 175);
/* oklch */ color: oklch(61.7% 0.203 337.8);
Tailwind
colors: {
  custom: {
    50: '#e084c7',
    500: '#cd47af',
    950: '#000000',
  },
}
SCSS
$custom: #cd47af;
$custom-light: #e084c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47af",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 313.433,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.20282,
    "h": 337.8
  },
  "luminance": 0.20581
}

Semantic roles & 50–950 ramp

primary
#CD47AF
secondary
#9BD4A8
accent
#E16A47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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