#A71F7A#A71F7A

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

Color values

HEX#A71F7A
RGBrgb(167, 31, 122)
HSLhsl(320, 69%, 39%)
HSVhsv(320, 81%, 65%)
CMYKcmyk(0%, 81.4%, 26.9%, 34.5%)
CIE-LABlab(38.90, 60.45, -17.89)
CIE-LCHlch(38.90, 63.04, 343.51°)
OKLaboklab(49.86% 0.1837 -0.0476)
OKLCHoklch(49.86% 0.19 345.5)
XYZxyz(19.9401, 10.6029, 19.4050)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F7A #1FA74C
analogous
#901FA7 #A71F7A #A71F36
triadic
#A71F7A #7AA71F #1F7AA7
tetradic
#A71F7A #A7901F #1FA74C #1F36A7
square
#A71F7A #A7901F #1FA74C #1F36A7
split-complementary
#A71F7A #36A71F #1FA790
monochromatic
#400C2F #731554 #A71F7A #D82B9F #E15FB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A71F7A#FFFFFF#000000##FFFFFF
##A71F7A1.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)
#334D7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#B31B4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a71f7a;
/* rgb */ color: rgb(167, 31, 122);
/* oklch */ color: oklch(49.9% 0.190 345.5);
Tailwind
colors: {
  custom: {
    50: '#c66ca0',
    500: '#a71f7a',
    950: '#000000',
  },
}
SCSS
$custom: #a71f7a;
$custom-light: #c66ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f7a",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 319.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49855,
    "c": 0.18979,
    "h": 345.5
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

primary
#A71F7A
secondary
#5CC67F
accent
#EC763C
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#14080E
muted
#827A7E

Preview Lab

Preview with #A71F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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