#A71F94#A71F94

#A71F94 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 334.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A71F94
RGBrgb(167, 31, 148)
HSLhsl(308, 69%, 39%)
HSVhsv(308, 81%, 65%)
CMYKcmyk(0%, 81.4%, 11.4%, 34.5%)
CIE-LABlab(40.14, 63.95, -31.96)
CIE-LCHlch(40.14, 71.49, 333.44°)
OKLaboklab(51.15% 0.1867 -0.0875)
OKLCHoklch(51.15% 0.206 334.9)
XYZxyz(21.7719, 11.3356, 29.0526)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F94 #1FA732
analogous
#761FA7 #A71F94 #A71F50
triadic
#A71F94 #94A71F #1F94A7
tetradic
#A71F94 #A7761F #1FA732 #1F50A7
square
#A71F94 #A7761F #1FA732 #1F50A7
split-complementary
#A71F94 #50A71F #1FA776
monochromatic
#400C39 #731566 #A71F94 #D82BC0 #E15FCF

Accessibility & contrast

On white

6.43
#A71F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A71F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F94
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F94#FFFFFF#000000##FFFFFF
##A71F941.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5297
Deuteranopia (green-blind)
#536591
Tritanopia (blue-blind)
#AF2D5A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a71f94;
/* rgb */ color: rgb(167, 31, 148);
/* oklch */ color: oklch(51.1% 0.206 334.9);
Tailwind
colors: {
  custom: {
    50: '#c56db4',
    500: '#a71f94',
    950: '#000000',
  },
}
SCSS
$custom: #a71f94;
$custom-light: #c56db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f94",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 308.382,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.20623,
    "h": 334.9
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#A71F94
secondary
#5CC66B
accent
#EC553C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F94

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

Preview Lab → · Contrast checker → · Palette generator →

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