#CA47A2#CA47A2

#CA47A2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.192 H 341.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA47A2
RGBrgb(202, 71, 162)
HSLhsl(318, 55%, 54%)
HSVhsv(318, 65%, 79%)
CMYKcmyk(0%, 64.9%, 19.8%, 20.8%)
CIE-LABlab(51.47, 61.08, -22.26)
CIE-LCHlch(51.47, 65.02, 339.97°)
OKLaboklab(60.69% 0.1825 -0.0597)
OKLCHoklch(60.69% 0.192 341.9)
XYZxyz(33.1329, 19.6748, 36.2281)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA47A2 #47CA6F
analogous
#B047CA #CA47A2 #CA4760
triadic
#CA47A2 #A2CA47 #47A2CA
tetradic
#CA47A2 #CAB047 #47CA6F #4760CA
square
#CA47A2 #CAB047 #47CA6F #4760CA
split-complementary
#CA47A2 #60CA47 #47CAB0
monochromatic
#75225C #A42F81 #CA47A2 #D877BA #E5A6D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA47A2#FFFFFF#000000##000000
##CA47A21.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)
#516DA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D6486E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca47a2;
/* rgb */ color: rgb(202, 71, 162);
/* oklch */ color: oklch(60.7% 0.192 341.9);
Tailwind
colors: {
  custom: {
    50: '#de83bd',
    500: '#ca47a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca47a2;
$custom-light: #de83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca47a2",
  "rgb": {
    "r": 202,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 318.321,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.19203,
    "h": 341.9
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#CA47A2
secondary
#9AD2AB
accent
#DF7749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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