#A71F92#A71F92

#A71F92 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.205 H 335.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A71F92
RGBrgb(167, 31, 146)
HSLhsl(309, 69%, 39%)
HSVhsv(309, 81%, 65%)
CMYKcmyk(0%, 81.4%, 12.6%, 34.5%)
CIE-LABlab(40.04, 63.66, -30.91)
CIE-LCHlch(40.04, 70.77, 334.10°)
OKLaboklab(51.04% 0.1866 -0.0845)
OKLCHoklch(51.04% 0.205 335.6)
XYZxyz(21.6150, 11.2728, 28.2261)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A71F92 #1FA734
analogous
#781FA7 #A71F92 #A71F4E
triadic
#A71F92 #92A71F #1F92A7
tetradic
#A71F92 #A7781F #1FA734 #1F4EA7
square
#A71F92 #A7781F #1FA734 #1F4EA7
split-complementary
#A71F92 #4EA71F #1FA778
monochromatic
#400C38 #731565 #A71F92 #D82BBD #E15FCD

Accessibility & contrast

On white

6.45
#A71F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A71F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A71F92
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A71F92#FFFFFF#000000##FFFFFF
##A71F921.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205295
Deuteranopia (green-blind)
#54658F
Tritanopia (blue-blind)
#B02C58
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a71f92;
/* rgb */ color: rgb(167, 31, 146);
/* oklch */ color: oklch(51.0% 0.205 335.6);
Tailwind
colors: {
  custom: {
    50: '#c56db2',
    500: '#a71f92',
    950: '#000000',
  },
}
SCSS
$custom: #a71f92;
$custom-light: #c56db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a71f92",
  "rgb": {
    "r": 167,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 309.265,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.20487,
    "h": 335.6
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#A71F92
secondary
#5CC66C
accent
#EC573C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A71F92

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

Preview Lab → · Contrast checker → · Palette generator →

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