#CD47B3#CD47B3

#CD47B3 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.206 H 336.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CD47B3
RGBrgb(205, 71, 179)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 65.4%, 12.7%, 19.6%)
CIE-LABlab(52.67, 64.33, -30.33)
CIE-LCHlch(52.67, 71.12, 334.76°)
OKLaboklab(61.89% 0.1884 -0.0824)
OKLCHoklch(61.89% 0.206 336.4)
XYZxyz(35.5672, 20.7433, 44.7697)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47B3 #47CD61
analogous
#A447CD #CD47B3 #CD4770
triadic
#CD47B3 #B3CD47 #47B3CD
tetradic
#CD47B3 #CDA447 #47CD61 #4770CD
square
#CD47B3 #CDA447 #47CD61 #4770CD
split-complementary
#CD47B3 #70CD47 #47CDA4
monochromatic
#792168 #A92E91 #CD47B3 #DA77C7 #E7A7DB

Accessibility & contrast

On white

4.08
#CD47B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CD47B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47B3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47B3#FFFFFF#000000##000000
##CD47B31.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#D74F77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cd47b3;
/* rgb */ color: rgb(205, 71, 179);
/* oklch */ color: oklch(61.9% 0.206 336.4);
Tailwind
colors: {
  custom: {
    50: '#e084ca',
    500: '#cd47b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd47b3;
$custom-light: #e084ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47b3",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 311.642,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.20564,
    "h": 336.4
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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