#CA47AB#CA47AB

#CA47AB is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.198 H 338.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA47AB
RGBrgb(202, 71, 171)
HSLhsl(314, 55%, 54%)
HSVhsv(314, 65%, 79%)
CMYKcmyk(0%, 64.9%, 15.3%, 20.8%)
CIE-LABlab(51.84, 62.37, -26.97)
CIE-LCHlch(51.84, 67.95, 336.61°)
OKLaboklab(61.09% 0.1842 -0.0729)
OKLCHoklch(61.09% 0.198 338.4)
XYZxyz(33.9617, 20.0063, 40.5931)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47AB #47CA66
analogous
#A747CA #CA47AB #CA4769
triadic
#CA47AB #ABCA47 #47ABCA
tetradic
#CA47AB #CAA747 #47CA66 #4769CA
square
#CA47AB #CAA747 #47CA66 #4769CA
split-complementary
#CA47AB #69CA47 #47CAA7
monochromatic
#752261 #A42F89 #CA47AB #D877C1 #E5A6D6

Accessibility & contrast

On white

4.20
#CA47AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CA47AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47AB#FFFFFF#000000##000000
##CA47AB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#D54C73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca47ab;
/* rgb */ color: rgb(202, 71, 171);
/* oklch */ color: oklch(61.1% 0.198 338.4);
Tailwind
colors: {
  custom: {
    50: '#de83c4',
    500: '#ca47ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca47ab;
$custom-light: #de83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47ab",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 314.198,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.19807,
    "h": 338.4
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#CA47AB
secondary
#9AD2A8
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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