#A11871#A11871

#A11871 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.187 H 347.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A11871
RGBrgb(161, 24, 113)
HSLhsl(321, 74%, 36%)
HSVhsv(321, 85%, 63%)
CMYKcmyk(0%, 85.1%, 29.8%, 36.9%)
CIE-LABlab(36.79, 59.62, -15.59)
CIE-LCHlch(36.79, 61.63, 345.35°)
OKLaboklab(47.99% 0.1821 -0.0412)
OKLCHoklch(47.99% 0.187 347.3)
XYZxyz(18.0062, 9.4247, 16.4905)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A11871 #18A148
analogous
#8D18A1 #A11871 #A1182D
triadic
#A11871 #71A118 #1871A1
tetradic
#A11871 #A18D18 #18A148 #182DA1
square
#A11871 #A18D18 #18A148 #182DA1
split-complementary
#A11871 #2DA118 #18A18D
monochromatic
#360826 #6C104C #A11871 #D62096 #E54FB0

Accessibility & contrast

On white

7.28
#A11871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A11871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A11871
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A11871#FFFFFF#000000##FFFFFF
##A118711.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304873
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#AD0F44
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a11871;
/* rgb */ color: rgb(161, 24, 113);
/* oklch */ color: oklch(48.0% 0.187 347.3);
Tailwind
colors: {
  custom: {
    50: '#c1689a',
    500: '#a11871',
    950: '#000000',
  },
}
SCSS
$custom: #a11871;
$custom-light: #c1689a;
$custom-dark: #000000;
JSON
{
  "hex": "#a11871",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 321.022,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.18673,
    "h": 347.3
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#A11871
secondary
#4EC778
accent
#F17837
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A11871

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

Preview Lab → · Contrast checker → · Palette generator →

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