#CD47B5#CD47B5

#CD47B5 is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.207 H 335.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CD47B5
RGBrgb(205, 71, 181)
HSLhsl(311, 57%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 65.4%, 11.7%, 19.6%)
CIE-LABlab(52.76, 64.63, -31.35)
CIE-LCHlch(52.76, 71.83, 334.12°)
OKLaboklab(61.99% 0.1887 -0.0853)
OKLCHoklch(61.99% 0.207 335.7)
XYZxyz(35.7710, 20.8248, 45.8427)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47B5 #47CD5F
analogous
#A247CD #CD47B5 #CD4772
triadic
#CD47B5 #B5CD47 #47B5CD
tetradic
#CD47B5 #CDA247 #47CD5F #4772CD
square
#CD47B5 #CDA247 #47CD5F #4772CD
split-complementary
#CD47B5 #72CD47 #47CDA2
monochromatic
#792169 #A92E93 #CD47B5 #DA77C8 #E7A7DC

Accessibility & contrast

On white

4.07
#CD47B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CD47B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47B5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47B5#FFFFFF#000000##000000
##CD47B51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#7485B2
Tritanopia (blue-blind)
#D74F78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd47b5;
/* rgb */ color: rgb(205, 71, 181);
/* oklch */ color: oklch(62.0% 0.207 335.7);
Tailwind
colors: {
  custom: {
    50: '#e084cb',
    500: '#cd47b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd47b5;
$custom-light: #e084cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47b5",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 310.746,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.20707,
    "h": 335.7
  },
  "luminance": 0.20822
}

Semantic roles & 50–950 ramp

primary
#CD47B5
secondary
#9BD4A6
accent
#E16347
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD47B5

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

Preview Lab → · Contrast checker → · Palette generator →

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