#A1187C#A1187C

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

Color values

HEX#A1187C
RGBrgb(161, 24, 124)
HSLhsl(316, 74%, 36%)
HSVhsv(316, 85%, 63%)
CMYKcmyk(0%, 85.1%, 23%, 36.9%)
CIE-LABlab(37.28, 60.98, -21.74)
CIE-LCHlch(37.28, 64.74, 340.38°)
OKLaboklab(48.5% 0.184 -0.0584)
OKLCHoklch(48.5% 0.193 342.4)
XYZxyz(18.6634, 9.6876, 19.9519)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187C #18A13D
analogous
#8218A1 #A1187C #A11838
triadic
#A1187C #7CA118 #187CA1
tetradic
#A1187C #A18218 #18A13D #1838A1
square
#A1187C #A18218 #18A13D #1838A1
split-complementary
#A1187C #38A118 #18A182
monochromatic
#36082A #6C1053 #A1187C #D620A5 #E54FBC

Accessibility & contrast

On white

7.15
#A1187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1187C
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187C#FFFFFF#000000##FFFFFF
##A1187C1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#AC1A4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1187c;
/* rgb */ color: rgb(161, 24, 124);
/* oklch */ color: oklch(48.5% 0.193 342.4);
Tailwind
colors: {
  custom: {
    50: '#c169a2',
    500: '#a1187c',
    950: '#000000',
  },
}
SCSS
$custom: #a1187c;
$custom-light: #c169a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187c",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 316.204,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.19305,
    "h": 342.4
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#A1187C
secondary
#4EC76F
accent
#F16937
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A1187C

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

Preview Lab → · Contrast checker → · Palette generator →

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