#CA47A5#CA47A5

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

Color values

HEX#CA47A5
RGBrgb(202, 71, 165)
HSLhsl(317, 55%, 54%)
HSVhsv(317, 65%, 79%)
CMYKcmyk(0%, 64.9%, 18.3%, 20.8%)
CIE-LABlab(51.59, 61.51, -23.84)
CIE-LCHlch(51.59, 65.97, 338.81°)
OKLaboklab(60.82% 0.1831 -0.0641)
OKLCHoklch(60.82% 0.194 340.7)
XYZxyz(33.4027, 19.7827, 37.6493)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47A5 #47CA6C
analogous
#AE47CA #CA47A5 #CA4763
triadic
#CA47A5 #A5CA47 #47A5CA
tetradic
#CA47A5 #CAAE47 #47CA6C #4763CA
square
#CA47A5 #CAAE47 #47CA6C #4763CA
split-complementary
#CA47A5 #63CA47 #47CAAE
monochromatic
#75225D #A42F83 #CA47A5 #D877BC #E5A6D3

Accessibility & contrast

On white

4.24
#CA47A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA47A5#FFFFFF#000000##000000
##CA47A51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA8
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#D64A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47a5;
/* rgb */ color: rgb(202, 71, 165);
/* oklch */ color: oklch(60.8% 0.194 340.7);
Tailwind
colors: {
  custom: {
    50: '#de83c0',
    500: '#ca47a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca47a5;
$custom-light: #de83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47a5",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 316.947,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.194,
    "h": 340.7
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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