#A1187F#A1187F

#A1187F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 341.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A1187F
RGBrgb(161, 24, 127)
HSLhsl(315, 74%, 36%)
HSVhsv(315, 85%, 63%)
CMYKcmyk(0%, 85.1%, 21.1%, 36.9%)
CIE-LABlab(37.42, 61.37, -23.39)
CIE-LCHlch(37.42, 65.68, 339.13°)
OKLaboklab(48.65% 0.1844 -0.0631)
OKLCHoklch(48.65% 0.195 341.1)
XYZxyz(18.8560, 9.7647, 20.9663)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187F #18A13A
analogous
#7F18A1 #A1187F #A1183A
triadic
#A1187F #7FA118 #187FA1
tetradic
#A1187F #A17F18 #18A13A #183AA1
square
#A1187F #A17F18 #18A13A #183AA1
split-complementary
#A1187F #3AA118 #18A17F
monochromatic
#36082B #6C1055 #A1187F #D620A9 #E54FBF

Accessibility & contrast

On white

7.11
#A1187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A1187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1187F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187F#FFFFFF#000000##FFFFFF
##A1187F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A82
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#AB1C4C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1187f;
/* rgb */ color: rgb(161, 24, 127);
/* oklch */ color: oklch(48.6% 0.195 341.1);
Tailwind
colors: {
  custom: {
    50: '#c169a4',
    500: '#a1187f',
    950: '#000000',
  },
}
SCSS
$custom: #a1187f;
$custom-light: #c169a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187f",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 314.891,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.19487,
    "h": 341.1
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#A1187F
secondary
#4EC76C
accent
#F16537
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A1187F

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

Preview Lab → · Contrast checker → · Palette generator →

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