#CD47B2#CD47B2

#CD47B2 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.8% C 0.205 H 336.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CD47B2
RGBrgb(205, 71, 178)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 65.4%, 13.2%, 19.6%)
CIE-LABlab(52.62, 64.18, -29.82)
CIE-LCHlch(52.62, 70.77, 335.08°)
OKLaboklab(61.85% 0.1883 -0.0809)
OKLCHoklch(61.85% 0.205 336.7)
XYZxyz(35.4665, 20.7030, 44.2390)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47B2 #47CD62
analogous
#A547CD #CD47B2 #CD476F
triadic
#CD47B2 #B2CD47 #47B2CD
tetradic
#CD47B2 #CDA547 #47CD62 #476FCD
square
#CD47B2 #CDA547 #47CD62 #476FCD
split-complementary
#CD47B2 #6FCD47 #47CDA5
monochromatic
#792167 #A92E90 #CD47B2 #DA77C6 #E7A7DA

Accessibility & contrast

On white

4.09
#CD47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CD47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47B2#FFFFFF#000000##000000
##CD47B21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D74E76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd47b2;
/* rgb */ color: rgb(205, 71, 178);
/* oklch */ color: oklch(61.8% 0.205 336.7);
Tailwind
colors: {
  custom: {
    50: '#e084c9',
    500: '#cd47b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd47b2;
$custom-light: #e084c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47b2",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 312.09,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.20493,
    "h": 336.7
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#CD47B2
secondary
#9BD4A7
accent
#E16647
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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