#A1187D#A1187D

#A1187D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.194 H 342.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#A1187D
RGBrgb(161, 24, 125)
HSLhsl(316, 74%, 36%)
HSVhsv(316, 85%, 63%)
CMYKcmyk(0%, 85.1%, 22.4%, 36.9%)
CIE-LABlab(37.32, 61.11, -22.29)
CIE-LCHlch(37.32, 65.05, 339.96°)
OKLaboklab(48.55% 0.1841 -0.06)
OKLCHoklch(48.55% 0.194 342)
XYZxyz(18.7270, 9.7130, 20.2866)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187D #18A13C
analogous
#8118A1 #A1187D #A11839
triadic
#A1187D #7DA118 #187DA1
tetradic
#A1187D #A18118 #18A13C #1839A1
square
#A1187D #A18118 #18A13C #1839A1
split-complementary
#A1187D #39A118 #18A181
monochromatic
#36082A #6C1054 #A1187D #D620A6 #E54FBD

Accessibility & contrast

On white

7.14
#A1187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A1187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1187D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187D#FFFFFF#000000##FFFFFF
##A1187D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#565F7A
Tritanopia (blue-blind)
#AC1B4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1187d;
/* rgb */ color: rgb(161, 24, 125);
/* oklch */ color: oklch(48.6% 0.194 342.0);
Tailwind
colors: {
  custom: {
    50: '#c169a3',
    500: '#a1187d',
    950: '#000000',
  },
}
SCSS
$custom: #a1187d;
$custom-light: #c169a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187d",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 315.766,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.19365,
    "h": 342
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#A1187D
secondary
#4EC76E
accent
#F16837
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A1187D

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

Preview Lab → · Contrast checker → · Palette generator →

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