#A71E7C#A71E7C

#A71E7C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.192 H 344.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A71E7C
RGBrgb(167, 30, 124)
HSLhsl(319, 70%, 39%)
HSVhsv(319, 82%, 65%)
CMYKcmyk(0%, 82%, 25.7%, 34.5%)
CIE-LABlab(38.90, 60.95, -19.14)
CIE-LCHlch(38.90, 63.88, 342.57°)
OKLaboklab(49.88% 0.1849 -0.0511)
OKLCHoklch(49.88% 0.192 344.6)
XYZxyz(20.0396, 10.6015, 20.0558)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71E7C #1EA749
analogous
#8D1EA7 #A71E7C #A71E37
triadic
#A71E7C #7CA71E #1E7CA7
tetradic
#A71E7C #A78D1E #1EA749 #1E37A7
square
#A71E7C #A78D1E #1EA749 #1E37A7
split-complementary
#A71E7C #37A71E #1EA78D
monochromatic
#3F0B2F #731555 #A71E7C #D92AA2 #E25DB8

Accessibility & contrast

On white

6.73
#A71E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A71E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71E7C
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71E7C#FFFFFF#000000##FFFFFF
##A71E7C1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#B31C4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71e7c;
/* rgb */ color: rgb(167, 30, 124);
/* oklch */ color: oklch(49.9% 0.192 344.6);
Tailwind
colors: {
  custom: {
    50: '#c66ba2',
    500: '#a71e7c',
    950: '#000000',
  },
}
SCSS
$custom: #a71e7c;
$custom-light: #c66ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71e7c",
  "rgb": {
    "r": 167,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 318.832,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49881,
    "c": 0.1918,
    "h": 344.6
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#A71E7C
secondary
#5BC67C
accent
#EC733B
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A71E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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