#CD47B1#CD47B1

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

Color values

HEX#CD47B1
RGBrgb(205, 71, 177)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 65%, 80%)
CMYKcmyk(0%, 65.4%, 13.7%, 19.6%)
CIE-LABlab(52.58, 64.03, -29.30)
CIE-LCHlch(52.58, 70.42, 335.41°)
OKLaboklab(61.8% 0.1881 -0.0795)
OKLCHoklch(61.8% 0.204 337.1)
XYZxyz(35.3664, 20.6630, 43.7122)
Luminance0.2066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47B1 #47CD63
analogous
#A647CD #CD47B1 #CD476E
triadic
#CD47B1 #B1CD47 #47B1CD
tetradic
#CD47B1 #CDA647 #47CD63 #476ECD
square
#CD47B1 #CDA647 #47CD63 #476ECD
split-complementary
#CD47B1 #6ECD47 #47CDA6
monochromatic
#792166 #A92E8F #CD47B1 #DA77C5 #E7A7DA

Accessibility & contrast

On white

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

On black

5.13
#CD47B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47B1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47B1#FFFFFF#000000##000000
##CD47B11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#D74E76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47b1;
/* rgb */ color: rgb(205, 71, 177);
/* oklch */ color: oklch(61.8% 0.204 337.1);
Tailwind
colors: {
  custom: {
    50: '#e084c8',
    500: '#cd47b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd47b1;
$custom-light: #e084c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47b1",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 312.537,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.20422,
    "h": 337.1
  },
  "luminance": 0.2066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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