#A71F7F#A71F7F

#A71F7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.1% C 0.193 H 343.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A71F7F
RGBrgb(167, 31, 127)
HSLhsl(318, 69%, 39%)
HSVhsv(318, 81%, 65%)
CMYKcmyk(0%, 81.4%, 24%, 34.5%)
CIE-LABlab(39.12, 61.07, -20.66)
CIE-LCHlch(39.12, 64.47, 341.31°)
OKLaboklab(50.08% 0.1846 -0.0553)
OKLCHoklch(50.08% 0.193 343.3)
XYZxyz(20.2579, 10.7300, 21.0788)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F7F #1FA747
analogous
#8B1FA7 #A71F7F #A71F3B
triadic
#A71F7F #7FA71F #1F7FA7
tetradic
#A71F7F #A78B1F #1FA747 #1F3BA7
square
#A71F7F #A78B1F #1FA747 #1F3BA7
split-complementary
#A71F7F #3BA71F #1FA78B
monochromatic
#400C30 #731558 #A71F7F #D82BA5 #E15FBB

Accessibility & contrast

On white

6.68
#A71F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A71F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F7F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F7F#FFFFFF#000000##FFFFFF
##A71F7F1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#B21F4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f7f;
/* rgb */ color: rgb(167, 31, 127);
/* oklch */ color: oklch(50.1% 0.193 343.3);
Tailwind
colors: {
  custom: {
    50: '#c56ca4',
    500: '#a71f7f',
    950: '#000000',
  },
}
SCSS
$custom: #a71f7f;
$custom-light: #c56ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f7f",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 317.647,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.19271,
    "h": 343.3
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#A71F7F
secondary
#5CC67B
accent
#EC703C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A71F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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