#AA3871#AA3871

#AA3871 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.2% C 0.159 H 353.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA3871
RGBrgb(170, 56, 113)
HSLhsl(330, 50%, 44%)
HSVhsv(330, 67%, 67%)
CMYKcmyk(0%, 67.1%, 33.5%, 33.3%)
CIE-LABlab(42.11, 51.69, -7.39)
CIE-LCHlch(42.11, 52.21, 351.87°)
OKLaboklab(52.18% 0.1578 -0.0189)
OKLCHoklch(52.18% 0.159 353.2)
XYZxyz(20.9735, 12.5690, 16.9411)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3871 #38AA71
analogous
#AA38AA #AA3871 #AA3838
triadic
#AA3871 #71AA38 #3871AA
tetradic
#AA3871 #AAAA38 #38AA71 #3838AA
square
#AA3871 #AAAA38 #38AA71 #3838AA
split-complementary
#AA3871 #38AA38 #38AAAA
monochromatic
#4E1A34 #7C2952 #AA3871 #C85790 #D785AE

Accessibility & contrast

On white

5.98
#AA3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3871
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3871#FFFFFF#000000##FFFFFF
##AA38711.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5673
Deuteranopia (green-blind)
#6A6B6E
Tritanopia (blue-blind)
#B73050
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa3871;
/* rgb */ color: rgb(170, 56, 113);
/* oklch */ color: oklch(52.2% 0.159 353.2);
Tailwind
colors: {
  custom: {
    50: '#c77699',
    500: '#aa3871',
    950: '#000000',
  },
}
SCSS
$custom: #aa3871;
$custom-light: #c77699;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3871",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.15897,
    "h": 353.2
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#AA3871
secondary
#7DC19F
accent
#DA944E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3871

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

Preview Lab → · Contrast checker → · Palette generator →

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