#CA47A6#CA47A6

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

Color values

HEX#CA47A6
RGBrgb(202, 71, 166)
HSLhsl(316, 55%, 54%)
HSVhsv(316, 65%, 79%)
CMYKcmyk(0%, 64.9%, 17.8%, 20.8%)
CIE-LABlab(51.63, 61.65, -24.36)
CIE-LCHlch(51.63, 66.29, 338.43°)
OKLaboklab(60.86% 0.1833 -0.0656)
OKLCHoklch(60.86% 0.195 340.3)
XYZxyz(33.4941, 19.8193, 38.1305)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47A6 #47CA6B
analogous
#AD47CA #CA47A6 #CA4764
triadic
#CA47A6 #A6CA47 #47A6CA
tetradic
#CA47A6 #CAAD47 #47CA6B #4764CA
square
#CA47A6 #CAAD47 #47CA6B #4764CA
split-complementary
#CA47A6 #64CA47 #47CAAD
monochromatic
#75225E #A42F84 #CA47A6 #D877BD #E5A6D4

Accessibility & contrast

On white

4.23
#CA47A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA47A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47A6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47A6#FFFFFF#000000##000000
##CA47A61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#D54A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47a6;
/* rgb */ color: rgb(202, 71, 166);
/* oklch */ color: oklch(60.9% 0.195 340.3);
Tailwind
colors: {
  custom: {
    50: '#de83c0',
    500: '#ca47a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca47a6;
$custom-light: #de83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47a6",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 316.489,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60861,
    "c": 0.19467,
    "h": 340.3
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#CA47A6
secondary
#9AD2AA
accent
#DF7249
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47A6

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

Preview Lab → · Contrast checker → · Palette generator →

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