#CA71B8#CA71B8

#CA71B8 is a light, vivid pink. Relative luminance 0.278; OKLCH L 67.1% C 0.143 H 335.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#CA71B8
RGBrgb(202, 113, 184)
HSLhsl(312, 46%, 62%)
HSVhsv(312, 44%, 79%)
CMYKcmyk(0%, 44.1%, 8.9%, 20.8%)
CIE-LABlab(59.73, 44.83, -22.33)
CIE-LCHlch(59.73, 50.08, 333.52°)
OKLaboklab(67.1% 0.1292 -0.0602)
OKLCHoklch(67.1% 0.143 335)
XYZxyz(38.9139, 27.8298, 48.6601)
Luminance0.2783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71B8 #71CA83
analogous
#B071CA #CA71B8 #CA718C
triadic
#CA71B8 #B8CA71 #71B8CA
tetradic
#CA71B8 #CAB071 #71CA83 #718CCA
square
#CA71B8 #CAB071 #71CA83 #718CCA
split-complementary
#CA71B8 #8CCA71 #71CAB0
monochromatic
#8C347A #B945A1 #CA71B8 #DB9ECE #EBCAE5

Accessibility & contrast

On white

3.20
#CA71B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#CA71B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71B8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71B8#FFFFFF#000000##000000
##CA71B81.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BB
Deuteranopia (green-blind)
#8995B5
Tritanopia (blue-blind)
#D2758C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca71b8;
/* rgb */ color: rgb(202, 113, 184);
/* oklch */ color: oklch(67.1% 0.143 335.0);
Tailwind
colors: {
  custom: {
    50: '#dc9ccd',
    500: '#ca71b8',
    950: '#000000',
  },
}
SCSS
$custom: #ca71b8;
$custom-light: #dc9ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71b8",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 312.135,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67097,
    "c": 0.14258,
    "h": 335
  },
  "luminance": 0.27828
}

Semantic roles & 50–950 ramp

primary
#CA71B8
secondary
#BBDCC2
accent
#B9492D
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CA71B8

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

Preview Lab → · Contrast checker → · Palette generator →

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