#C71AA2#C71AA2

#C71AA2 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.8% C 0.235 H 339.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C71AA2
RGBrgb(199, 26, 162)
HSLhsl(313, 77%, 44%)
HSVhsv(313, 87%, 78%)
CMYKcmyk(0%, 86.9%, 18.6%, 22%)
CIE-LABlab(46.30, 73.57, -30.32)
CIE-LCHlch(46.30, 79.57, 337.60°)
OKLaboklab(56.85% 0.2199 -0.0822)
OKLCHoklch(56.85% 0.235 339.5)
XYZxyz(30.4451, 15.4927, 35.5625)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C71AA2 #1AC73F
analogous
#961AC7 #C71AA2 #C71A4C
triadic
#C71AA2 #A2C71A #1AA2C7
tetradic
#C71AA2 #C7961A #1AC73F #1A4CC7
square
#C71AA2 #C7961A #1AC73F #1A4CC7
split-complementary
#C71AA2 #4CC71A #1AC796
monochromatic
#5B0C4A #911376 #C71AA2 #E539C0 #EC6FD1

Accessibility & contrast

On white

5.12
#C71AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C71AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C71AA2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C71AA2#FFFFFF#000000##FFFFFF
##C71AA21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#67779E
Tritanopia (blue-blind)
#D32561
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c71aa2;
/* rgb */ color: rgb(199, 26, 162);
/* oklch */ color: oklch(56.8% 0.235 339.5);
Tailwind
colors: {
  custom: {
    50: '#dd71be',
    500: '#c71aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c71aa2;
$custom-light: #dd71be;
$custom-dark: #000000;
JSON
{
  "hex": "#c71aa2",
  "rgb": {
    "r": 199,
    "g": 26,
    "b": 162
  },
  "hsl": {
    "h": 312.832,
    "s": 76.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.23471,
    "h": 339.5
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#C71AA2
secondary
#6AD281
accent
#F35D34
background
#FEF7FB
surface
#FCEDF6
border
#D5C8D0
text
#160912
muted
#847B81

Preview Lab

Preview with #C71AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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