#A82871#A82871

#A82871 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.177 H 350.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A82871
RGBrgb(168, 40, 113)
HSLhsl(326, 62%, 41%)
HSVhsv(326, 76%, 66%)
CMYKcmyk(0%, 76.2%, 32.7%, 34.1%)
CIE-LABlab(39.64, 57.00, -11.13)
CIE-LCHlch(39.64, 58.08, 348.96°)
OKLaboklab(50.31% 0.1744 -0.0289)
OKLCHoklch(50.31% 0.177 350.6)
XYZxyz(19.8890, 11.0370, 16.7026)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82871 #28A85F
analogous
#9F28A8 #A82871 #A82831
triadic
#A82871 #71A828 #2871A8
tetradic
#A82871 #A89F28 #28A85F #2831A8
square
#A82871 #A89F28 #28A85F #2831A8
split-complementary
#A82871 #31A828 #28A89F
monochromatic
#45102F #771C50 #A82871 #D13D91 #DC6EAD

Accessibility & contrast

On white

6.55
#A82871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A82871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82871
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82871#FFFFFF#000000##FFFFFF
##A828711.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#63666E
Tritanopia (blue-blind)
#B51F49
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a82871;
/* rgb */ color: rgb(168, 40, 113);
/* oklch */ color: oklch(50.3% 0.177 350.6);
Tailwind
colors: {
  custom: {
    50: '#c66f99',
    500: '#a82871',
    950: '#000000',
  },
}
SCSS
$custom: #a82871;
$custom-light: #c66f99;
$custom-dark: #000000;
JSON
{
  "hex": "#a82871",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 325.781,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.17683,
    "h": 350.6
  },
  "luminance": 0.11035
}

Semantic roles & 50–950 ramp

primary
#A82871
secondary
#69C390
accent
#E58943
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A82871

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

Preview Lab → · Contrast checker → · Palette generator →

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