#CA71B4#CA71B4

#CA71B4 is a light, vivid pink. Relative luminance 0.277; OKLCH L 66.9% C 0.139 H 337.0°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CA71B4
RGBrgb(202, 113, 180)
HSLhsl(315, 46%, 62%)
HSVhsv(315, 44%, 79%)
CMYKcmyk(0%, 44.1%, 10.9%, 20.8%)
CIE-LABlab(59.58, 44.16, -20.28)
CIE-LCHlch(59.58, 48.59, 335.34°)
OKLaboklab(66.94% 0.1282 -0.0545)
OKLCHoklch(66.94% 0.139 337)
XYZxyz(38.5006, 27.6645, 46.4831)
Luminance0.2766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71B4 #71CA87
analogous
#B371CA #CA71B4 #CA7188
triadic
#CA71B4 #B4CA71 #71B4CA
tetradic
#CA71B4 #CAB371 #71CA87 #7188CA
square
#CA71B4 #CAB371 #71CA87 #7188CA
split-complementary
#CA71B4 #88CA71 #71CAB3
monochromatic
#8C3477 #B9459C #CA71B4 #DB9ECC #EBCAE3

Accessibility & contrast

On white

3.21
#CA71B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CA71B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71B4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71B4#FFFFFF#000000##000000
##CA71B41.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7387B6
Deuteranopia (green-blind)
#8A94B1
Tritanopia (blue-blind)
#D2748A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca71b4;
/* rgb */ color: rgb(202, 113, 180);
/* oklch */ color: oklch(66.9% 0.139 337.0);
Tailwind
colors: {
  custom: {
    50: '#dc9cca',
    500: '#ca71b4',
    950: '#000000',
  },
}
SCSS
$custom: #ca71b4;
$custom-light: #dc9cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71b4",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 314.831,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66935,
    "c": 0.1393,
    "h": 337
  },
  "luminance": 0.27662
}

Semantic roles & 50–950 ramp

primary
#CA71B4
secondary
#BBDCC3
accent
#B94F2D
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CA71B4

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

Preview Lab → · Contrast checker → · Palette generator →

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