#A1187E#A1187E

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

Color values

HEX#A1187E
RGBrgb(161, 24, 126)
HSLhsl(315, 74%, 36%)
HSVhsv(315, 85%, 63%)
CMYKcmyk(0%, 85.1%, 21.7%, 36.9%)
CIE-LABlab(37.37, 61.24, -22.85)
CIE-LCHlch(37.37, 65.36, 339.54°)
OKLaboklab(48.6% 0.1843 -0.0615)
OKLCHoklch(48.6% 0.194 341.5)
XYZxyz(18.7912, 9.7387, 20.6248)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1187E #18A13B
analogous
#8018A1 #A1187E #A1183A
triadic
#A1187E #7EA118 #187EA1
tetradic
#A1187E #A18018 #18A13B #183AA1
square
#A1187E #A18018 #18A13B #183AA1
split-complementary
#A1187E #3AA118 #18A180
monochromatic
#36082B #6C1054 #A1187E #D620A8 #E54FBE

Accessibility & contrast

On white

7.12
#A1187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1187E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1187E#FFFFFF#000000##FFFFFF
##A1187E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#AB1C4C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1187e;
/* rgb */ color: rgb(161, 24, 126);
/* oklch */ color: oklch(48.6% 0.194 341.5);
Tailwind
colors: {
  custom: {
    50: '#c169a3',
    500: '#a1187e',
    950: '#000000',
  },
}
SCSS
$custom: #a1187e;
$custom-light: #c169a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1187e",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 315.328,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.19426,
    "h": 341.5
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#A1187E
secondary
#4EC76D
accent
#F16737
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A1187E

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

Preview Lab → · Contrast checker → · Palette generator →

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