#A1187A#A1187A

#A1187A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.4% C 0.192 H 343.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A1187A
RGBrgb(161, 24, 122)
HSLhsl(317, 74%, 36%)
HSVhsv(317, 85%, 63%)
CMYKcmyk(0%, 85.1%, 24.2%, 36.9%)
CIE-LABlab(37.18, 60.73, -20.64)
CIE-LCHlch(37.18, 64.14, 341.23°)
OKLaboklab(48.41% 0.1837 -0.0553)
OKLCHoklch(48.41% 0.192 343.2)
XYZxyz(18.5382, 9.6375, 19.2925)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187A #18A13F
analogous
#8418A1 #A1187A #A11836
triadic
#A1187A #7AA118 #187AA1
tetradic
#A1187A #A18418 #18A13F #1836A1
square
#A1187A #A18418 #18A13F #1836A1
split-complementary
#A1187A #36A118 #18A184
monochromatic
#360829 #6C1052 #A1187A #D620A2 #E54FBA

Accessibility & contrast

On white

7.17
#A1187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A1187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1187A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187A#FFFFFF#000000##FFFFFF
##A1187A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B497C
Deuteranopia (green-blind)
#575F77
Tritanopia (blue-blind)
#AC1849
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a1187a;
/* rgb */ color: rgb(161, 24, 122);
/* oklch */ color: oklch(48.4% 0.192 343.2);
Tailwind
colors: {
  custom: {
    50: '#c169a0',
    500: '#a1187a',
    950: '#000000',
  },
}
SCSS
$custom: #a1187a;
$custom-light: #c169a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187a",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 317.08,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48407,
    "c": 0.19185,
    "h": 343.2
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#A1187A
secondary
#4EC770
accent
#F16C37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #A1187A

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

Preview Lab → · Contrast checker → · Palette generator →

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