#A71F6A#A71F6A

#A71F6A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.181 H 352.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A71F6A
RGBrgb(167, 31, 106)
HSLhsl(327, 69%, 39%)
HSVhsv(327, 81%, 65%)
CMYKcmyk(0%, 81.4%, 36.5%, 34.5%)
CIE-LABlab(38.27, 58.59, -8.82)
CIE-LCHlch(38.27, 59.25, 351.44°)
OKLaboklab(49.19% 0.1801 -0.0226)
OKLCHoklch(49.19% 0.182 352.8)
XYZxyz(19.0291, 10.2385, 14.6070)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F6A #1FA75C
analogous
#A01FA7 #A71F6A #A71F26
triadic
#A71F6A #6AA71F #1F6AA7
tetradic
#A71F6A #A7A01F #1FA75C #1F26A7
square
#A71F6A #A7A01F #1FA75C #1F26A7
split-complementary
#A71F6A #26A71F #1FA7A0
monochromatic
#400C28 #731549 #A71F6A #D82B8A #E15FA7

Accessibility & contrast

On white

6.89
#A71F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A71F6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F6A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F6A#FFFFFF#000000##FFFFFF
##A71F6A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4A6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#B40C42
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a71f6a;
/* rgb */ color: rgb(167, 31, 106);
/* oklch */ color: oklch(49.2% 0.181 352.8);
Tailwind
colors: {
  custom: {
    50: '#c66b94',
    500: '#a71f6a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f6a;
$custom-light: #c66b94;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f6a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 106
  },
  "hsl": {
    "h": 326.912,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.1815,
    "h": 352.8
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#A71F6A
secondary
#5CC68B
accent
#EC8B3C
background
#FCF6F9
surface
#F9ECF1
border
#D2C7CB
text
#14080D
muted
#827A7E

Preview Lab

Preview with #A71F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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