#A13871#A13871

#A13871 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.151 H 350.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A13871
RGBrgb(161, 56, 113)
HSLhsl(327, 48%, 43%)
HSVhsv(327, 65%, 63%)
CMYKcmyk(0%, 65.2%, 29.8%, 36.9%)
CIE-LABlab(40.57, 48.98, -9.84)
CIE-LCHlch(40.57, 49.96, 348.64°)
OKLaboklab(50.76% 0.1489 -0.0256)
OKLCHoklch(50.76% 0.151 350.2)
XYZxyz(19.0936, 11.5997, 16.8530)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13871 #38A168
analogous
#9D38A1 #A13871 #A1383C
triadic
#A13871 #71A138 #3871A1
tetradic
#A13871 #A19D38 #38A168 #383CA1
square
#A13871 #A19D38 #38A168 #383CA1
split-complementary
#A13871 #3CA138 #38A19D
monochromatic
#461831 #742851 #A13871 #C35390 #D380AD

Accessibility & contrast

On white

6.33
#A13871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A13871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13871
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13871#FFFFFF#000000##FFFFFF
##A138711.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#64666F
Tritanopia (blue-blind)
#AC3350
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a13871;
/* rgb */ color: rgb(161, 56, 113);
/* oklch */ color: oklch(50.8% 0.151 350.2);
Tailwind
colors: {
  custom: {
    50: '#c07599',
    500: '#a13871',
    950: '#000000',
  },
}
SCSS
$custom: #a13871;
$custom-light: #c07599;
$custom-dark: #000000;
JSON
{
  "hex": "#a13871",
  "rgb": {
    "r": 161,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 327.429,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.15112,
    "h": 350.2
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#A13871
secondary
#78BC97
accent
#D88E50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A13871

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

Preview Lab → · Contrast checker → · Palette generator →

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