#CA71BA#CA71BA

#CA71BA is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.2% C 0.144 H 334.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CA71BA
RGBrgb(202, 113, 186)
HSLhsl(311, 46%, 62%)
HSVhsv(311, 44%, 79%)
CMYKcmyk(0%, 44.1%, 7.9%, 20.8%)
CIE-LABlab(59.81, 45.17, -23.36)
CIE-LCHlch(59.81, 50.85, 332.66°)
OKLaboklab(67.18% 0.1297 -0.0631)
OKLCHoklch(67.18% 0.144 334.1)
XYZxyz(39.1250, 27.9143, 49.7721)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71BA #71CA81
analogous
#AE71CA #CA71BA #CA718E
triadic
#CA71BA #BACA71 #71BACA
tetradic
#CA71BA #CAAE71 #71CA81 #718ECA
square
#CA71BA #CAAE71 #71CA81 #718ECA
split-complementary
#CA71BA #8ECA71 #71CAAE
monochromatic
#8C347C #B945A4 #CA71BA #DB9ED0 #EBCAE5

Accessibility & contrast

On white

3.19
#CA71BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CA71BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71BA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71BA#FFFFFF#000000##000000
##CA71BA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#8895B7
Tritanopia (blue-blind)
#D2768D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca71ba;
/* rgb */ color: rgb(202, 113, 186);
/* oklch */ color: oklch(67.2% 0.144 334.1);
Tailwind
colors: {
  custom: {
    50: '#dc9ccf',
    500: '#ca71ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca71ba;
$custom-light: #dc9ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71ba",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 310.787,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6718,
    "c": 0.14426,
    "h": 334.1
  },
  "luminance": 0.27912
}

Semantic roles & 50–950 ramp

primary
#CA71BA
secondary
#BBDCC1
accent
#B9462D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CA71BA

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

Preview Lab → · Contrast checker → · Palette generator →

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