#A71F7C#A71F7C

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

Color values

HEX#A71F7C
RGBrgb(167, 31, 124)
HSLhsl(319, 69%, 39%)
HSVhsv(319, 81%, 65%)
CMYKcmyk(0%, 81.4%, 25.7%, 34.5%)
CIE-LABlab(38.99, 60.69, -19.00)
CIE-LCHlch(38.99, 63.60, 342.62°)
OKLaboklab(49.95% 0.1841 -0.0507)
OKLCHoklch(49.95% 0.191 344.6)
XYZxyz(20.0653, 10.6529, 20.0644)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F7C #1FA74A
analogous
#8E1FA7 #A71F7C #A71F38
triadic
#A71F7C #7CA71F #1F7CA7
tetradic
#A71F7C #A78E1F #1FA74A #1F38A7
square
#A71F7C #A78E1F #1FA74A #1F38A7
split-complementary
#A71F7C #38A71F #1FA78E
monochromatic
#400C2F #731556 #A71F7C #D82BA1 #E15FB8

Accessibility & contrast

On white

6.71
#A71F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A71F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F7C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F7C#FFFFFF#000000##FFFFFF
##A71F7C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a71f7c;
/* rgb */ color: rgb(167, 31, 124);
/* oklch */ color: oklch(49.9% 0.191 344.6);
Tailwind
colors: {
  custom: {
    50: '#c66ca2',
    500: '#a71f7c',
    950: '#000000',
  },
}
SCSS
$custom: #a71f7c;
$custom-light: #c66ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f7c",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 318.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.19094,
    "h": 344.6
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#A71F7C
secondary
#5CC67D
accent
#EC743C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080F
muted
#827A7E

Preview Lab

Preview with #A71F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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