#CD47A8#CD47A8

#CD47A8 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.198 H 340.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CD47A8
RGBrgb(205, 71, 168)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 65.4%, 18%, 19.6%)
CIE-LABlab(52.19, 62.73, -24.64)
CIE-LCHlch(52.19, 67.39, 338.56°)
OKLaboklab(61.39% 0.1867 -0.0663)
OKLCHoklch(61.39% 0.198 340.4)
XYZxyz(34.4988, 20.3159, 39.1426)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47A8 #47CD6C
analogous
#AF47CD #CD47A8 #CD4765
triadic
#CD47A8 #A8CD47 #47A8CD
tetradic
#CD47A8 #CDAF47 #47CD6C #4765CD
square
#CD47A8 #CDAF47 #47CD6C #4765CD
split-complementary
#CD47A8 #65CD47 #47CDAF
monochromatic
#792160 #A92E87 #CD47A8 #DA77BF #E7A7D6

Accessibility & contrast

On white

4.15
#CD47A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CD47A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47A8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47A8#FFFFFF#000000##000000
##CD47A81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#D94A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cd47a8;
/* rgb */ color: rgb(205, 71, 168);
/* oklch */ color: oklch(61.4% 0.198 340.4);
Tailwind
colors: {
  custom: {
    50: '#e083c2',
    500: '#cd47a8',
    950: '#000000',
  },
}
SCSS
$custom: #cd47a8;
$custom-light: #e083c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47a8",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 316.567,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.19807,
    "h": 340.4
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#CD47A8
secondary
#9BD4AB
accent
#E17247
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47A8

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

Preview Lab → · Contrast checker → · Palette generator →

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