#CD47AA#CD47AA

#CD47AA is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.199 H 339.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CD47AA
RGBrgb(205, 71, 170)
HSLhsl(316, 57%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 65.4%, 17.1%, 19.6%)
CIE-LABlab(52.28, 63.01, -25.68)
CIE-LCHlch(52.28, 68.05, 337.83°)
OKLaboklab(61.48% 0.187 -0.0692)
OKLCHoklch(61.48% 0.199 339.7)
XYZxyz(34.6866, 20.3910, 40.1315)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD47AA #47CD6A
analogous
#AD47CD #CD47AA #CD4767
triadic
#CD47AA #AACD47 #47AACD
tetradic
#CD47AA #CDAD47 #47CD6A #4767CD
square
#CD47AA #CDAD47 #47CD6A #4767CD
split-complementary
#CD47AA #67CD47 #47CDAD
monochromatic
#792162 #A92E89 #CD47AA #DA77C0 #E7A7D6

Accessibility & contrast

On white

4.14
#CD47AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CD47AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD47AA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD47AA#FFFFFF#000000##000000
##CD47AA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7884A7
Tritanopia (blue-blind)
#D84B72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd47aa;
/* rgb */ color: rgb(205, 71, 170);
/* oklch */ color: oklch(61.5% 0.199 339.7);
Tailwind
colors: {
  custom: {
    50: '#e083c3',
    500: '#cd47aa',
    950: '#000000',
  },
}
SCSS
$custom: #cd47aa;
$custom-light: #e083c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd47aa",
  "rgb": {
    "r": 205,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 315.672,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.1994,
    "h": 339.7
  },
  "luminance": 0.20388
}

Semantic roles & 50–950 ramp

primary
#CD47AA
secondary
#9BD4AA
accent
#E16F47
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CD47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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