#CA71B1#CA71B1

#CA71B1 is a light, vivid pink. Relative luminance 0.275; OKLCH L 66.8% C 0.137 H 338.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#CA71B1
RGBrgb(202, 113, 177)
HSLhsl(317, 46%, 62%)
HSVhsv(317, 44%, 79%)
CMYKcmyk(0%, 44.1%, 12.4%, 20.8%)
CIE-LABlab(59.47, 43.66, -18.73)
CIE-LCHlch(59.47, 47.51, 336.79°)
OKLaboklab(66.82% 0.1274 -0.0502)
OKLCHoklch(66.82% 0.137 338.5)
XYZxyz(38.1982, 27.5436, 44.8909)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71B1 #71CA8A
analogous
#B771CA #CA71B1 #CA7185
triadic
#CA71B1 #B1CA71 #71B1CA
tetradic
#CA71B1 #CAB771 #71CA8A #7185CA
square
#CA71B1 #CAB771 #71CA8A #7185CA
split-complementary
#CA71B1 #85CA71 #71CAB7
monochromatic
#8C3474 #B94598 #CA71B1 #DB9EC9 #EBCAE2

Accessibility & contrast

On white

3.23
#CA71B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CA71B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71B1
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71B1#FFFFFF#000000##000000
##CA71B11.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B3
Deuteranopia (green-blind)
#8B94AF
Tritanopia (blue-blind)
#D37389
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca71b1;
/* rgb */ color: rgb(202, 113, 177);
/* oklch */ color: oklch(66.8% 0.137 338.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cc8',
    500: '#ca71b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca71b1;
$custom-light: #dc9cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71b1",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 316.854,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.13694,
    "h": 338.5
  },
  "luminance": 0.27541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA71B1

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

Preview Lab → · Contrast checker → · Palette generator →

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