#CA71B2#CA71B2

#CA71B2 is a light, vivid pink. Relative luminance 0.276; OKLCH L 66.9% C 0.138 H 338.0°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CA71B2
RGBrgb(202, 113, 178)
HSLhsl(316, 46%, 62%)
HSVhsv(316, 44%, 79%)
CMYKcmyk(0%, 44.1%, 11.9%, 20.8%)
CIE-LABlab(59.51, 43.83, -19.24)
CIE-LCHlch(59.51, 47.87, 336.29°)
OKLaboklab(66.86% 0.1277 -0.0516)
OKLCHoklch(66.86% 0.138 338)
XYZxyz(38.2983, 27.5836, 45.4178)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71B2 #71CA89
analogous
#B671CA #CA71B2 #CA7186
triadic
#CA71B2 #B2CA71 #71B2CA
tetradic
#CA71B2 #CAB671 #71CA89 #7186CA
square
#CA71B2 #CAB671 #71CA89 #7186CA
split-complementary
#CA71B2 #86CA71 #71CAB6
monochromatic
#8C3475 #B9459A #CA71B2 #DB9ECA #EBCAE2

Accessibility & contrast

On white

3.22
#CA71B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CA71B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71B2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71B2#FFFFFF#000000##000000
##CA71B21.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#8B94B0
Tritanopia (blue-blind)
#D3748A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca71b2;
/* rgb */ color: rgb(202, 113, 178);
/* oklch */ color: oklch(66.9% 0.138 338.0);
Tailwind
colors: {
  custom: {
    50: '#dc9cc9',
    500: '#ca71b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca71b2;
$custom-light: #dc9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71b2",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 316.18,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66856,
    "c": 0.13772,
    "h": 338
  },
  "luminance": 0.27581
}

Semantic roles & 50–950 ramp

primary
#CA71B2
secondary
#BBDCC4
accent
#B9522D
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CA71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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