#CA47A1#CA47A1

#CA47A1 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.191 H 342.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA47A1
RGBrgb(202, 71, 161)
HSLhsl(319, 55%, 54%)
HSVhsv(319, 65%, 79%)
CMYKcmyk(0%, 64.9%, 20.3%, 20.8%)
CIE-LABlab(51.43, 60.95, -21.74)
CIE-LCHlch(51.43, 64.71, 340.37°)
OKLaboklab(60.64% 0.1823 -0.0582)
OKLCHoklch(60.64% 0.191 342.3)
XYZxyz(33.0443, 19.6394, 35.7618)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47A1 #47CA70
analogous
#B147CA #CA47A1 #CA475F
triadic
#CA47A1 #A1CA47 #47A1CA
tetradic
#CA47A1 #CAB147 #47CA70 #475FCA
square
#CA47A1 #CAB147 #47CA70 #475FCA
split-complementary
#CA47A1 #5FCA47 #47CAB1
monochromatic
#75225B #A42F80 #CA47A1 #D877B9 #E5A6D2

Accessibility & contrast

On white

4.26
#CA47A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA47A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA47A1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA47A1#FFFFFF#000000##000000
##CA47A11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#79829E
Tritanopia (blue-blind)
#D6486E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47a1;
/* rgb */ color: rgb(202, 71, 161);
/* oklch */ color: oklch(60.6% 0.191 342.3);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#ca47a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca47a1;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47a1",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 318.779,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.19139,
    "h": 342.3
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#CA47A1
secondary
#9AD2AC
accent
#DF7849
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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