#A1187B#A1187B

#A1187B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.192 H 342.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A1187B
RGBrgb(161, 24, 123)
HSLhsl(317, 74%, 36%)
HSVhsv(317, 85%, 63%)
CMYKcmyk(0%, 85.1%, 23.6%, 36.9%)
CIE-LABlab(37.23, 60.85, -21.19)
CIE-LCHlch(37.23, 64.44, 340.80°)
OKLaboklab(48.46% 0.1839 -0.0569)
OKLCHoklch(48.46% 0.192 342.8)
XYZxyz(18.6005, 9.6625, 19.6205)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187B #18A13E
analogous
#8318A1 #A1187B #A11837
triadic
#A1187B #7BA118 #187BA1
tetradic
#A1187B #A18318 #18A13E #1837A1
square
#A1187B #A18318 #18A13E #1837A1
split-complementary
#A1187B #37A118 #18A183
monochromatic
#36082A #6C1052 #A1187B #D620A4 #E54FBB

Accessibility & contrast

On white

7.16
#A1187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1187B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187B#FFFFFF#000000##FFFFFF
##A1187B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#AC194A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1187b;
/* rgb */ color: rgb(161, 24, 123);
/* oklch */ color: oklch(48.5% 0.192 342.8);
Tailwind
colors: {
  custom: {
    50: '#c169a1',
    500: '#a1187b',
    950: '#000000',
  },
}
SCSS
$custom: #a1187b;
$custom-light: #c169a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187b",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 316.642,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.19244,
    "h": 342.8
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#A1187B
secondary
#4EC76F
accent
#F16B37
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #A1187B

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

Preview Lab → · Contrast checker → · Palette generator →

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