#CA71A2#CA71A2

#CA71A2 is a light, vivid pink. Relative luminance 0.270; OKLCH L 66.3% C 0.126 H 346.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CA71A2
RGBrgb(202, 113, 162)
HSLhsl(327, 46%, 62%)
HSVhsv(327, 44%, 79%)
CMYKcmyk(0%, 44.1%, 19.8%, 20.8%)
CIE-LABlab(58.95, 41.29, -10.89)
CIE-LCHlch(58.95, 42.71, 345.22°)
OKLaboklab(66.25% 0.1231 -0.0286)
OKLCHoklch(66.25% 0.126 346.9)
XYZxyz(36.7845, 26.9781, 37.4453)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA71A2 #71CA99
analogous
#C571CA #CA71A2 #CA7176
triadic
#CA71A2 #A2CA71 #71A2CA
tetradic
#CA71A2 #CAC571 #71CA99 #7176CA
square
#CA71A2 #CAC571 #71CA99 #7176CA
split-complementary
#CA71A2 #76CA71 #71CAC5
monochromatic
#8C3465 #B94585 #CA71A2 #DB9EBF #EBCADC

Accessibility & contrast

On white

3.28
#CA71A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CA71A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA71A2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA71A2#FFFFFF#000000##000000
##CA71A21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A4
Deuteranopia (green-blind)
#8F93A0
Tritanopia (blue-blind)
#D57083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca71a2;
/* rgb */ color: rgb(202, 113, 162);
/* oklch */ color: oklch(66.3% 0.126 346.9);
Tailwind
colors: {
  custom: {
    50: '#dc9cbd',
    500: '#ca71a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca71a2;
$custom-light: #dc9cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca71a2",
  "rgb": {
    "r": 202,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 326.966,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66253,
    "c": 0.12636,
    "h": 346.9
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#CA71A2
secondary
#BBDCCA
accent
#B96C2D
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #CA71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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