#CA71B3#CA71B3

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

Color values

HEX#CA71B3
RGBrgb(202, 113, 179)
HSLhsl(316, 46%, 62%)
HSVhsv(316, 44%, 79%)
CMYKcmyk(0%, 44.1%, 11.4%, 20.8%)
CIE-LABlab(59.55, 43.99, -19.76)
CIE-LCHlch(59.55, 48.23, 335.81°)
OKLaboklab(66.9% 0.128 -0.053)
OKLCHoklch(66.9% 0.139 337.5)
XYZxyz(38.3991, 27.6239, 45.9485)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71B3 #71CA88
analogous
#B571CA #CA71B3 #CA7187
triadic
#CA71B3 #B3CA71 #71B3CA
tetradic
#CA71B3 #CAB571 #71CA88 #7187CA
square
#CA71B3 #CAB571 #71CA88 #7187CA
split-complementary
#CA71B3 #87CA71 #71CAB5
monochromatic
#8C3476 #B9459B #CA71B3 #DB9ECB #EBCAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA71B3#FFFFFF#000000##000000
##CA71B31.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)
#7387B5
Deuteranopia (green-blind)
#8B94B0
Tritanopia (blue-blind)
#D3748A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca71b3;
/* rgb */ color: rgb(202, 113, 179);
/* oklch */ color: oklch(66.9% 0.139 337.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cc9',
    500: '#ca71b3',
    950: '#000000',
  },
}
SCSS
$custom: #ca71b3;
$custom-light: #dc9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71b3",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 315.506,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.13851,
    "h": 337.5
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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