#CA47A7#CA47A7

#CA47A7 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.195 H 339.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA47A7
RGBrgb(202, 71, 167)
HSLhsl(316, 55%, 54%)
HSVhsv(316, 65%, 79%)
CMYKcmyk(0%, 64.9%, 17.3%, 20.8%)
CIE-LABlab(51.67, 61.79, -24.89)
CIE-LCHlch(51.67, 66.62, 338.06°)
OKLaboklab(60.91% 0.1835 -0.067)
OKLCHoklch(60.91% 0.195 339.9)
XYZxyz(33.5862, 19.8561, 38.6155)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47A7 #47CA6A
analogous
#AC47CA #CA47A7 #CA4765
triadic
#CA47A7 #A7CA47 #47A7CA
tetradic
#CA47A7 #CAAC47 #47CA6A #4765CA
square
#CA47A7 #CAAC47 #47CA6A #4765CA
split-complementary
#CA47A7 #65CA47 #47CAAC
monochromatic
#75225F #A42F85 #CA47A7 #D877BE #E5A6D4

Accessibility & contrast

On white

4.22
#CA47A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CA47A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47A7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47A7#FFFFFF#000000##000000
##CA47A71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D54A71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47a7;
/* rgb */ color: rgb(202, 71, 167);
/* oklch */ color: oklch(60.9% 0.195 339.9);
Tailwind
colors: {
  custom: {
    50: '#de83c1',
    500: '#ca47a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca47a7;
$custom-light: #de83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47a7",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 316.031,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60905,
    "c": 0.19533,
    "h": 339.9
  },
  "luminance": 0.19853
}

Semantic roles & 50–950 ramp

primary
#CA47A7
secondary
#9AD2A9
accent
#DF7149
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47A7

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

Preview Lab → · Contrast checker → · Palette generator →

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