#A1178A#A1178A

#A1178A is a mid, highly saturated pink. Relative luminance 0.100; OKLCH L 49.2% C 0.203 H 336.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A1178A
RGBrgb(161, 23, 138)
HSLhsl(310, 75%, 36%)
HSVhsv(310, 86%, 63%)
CMYKcmyk(0%, 85.7%, 14.3%, 36.9%)
CIE-LABlab(37.89, 63.07, -29.46)
CIE-LCHlch(37.89, 69.61, 334.96°)
OKLaboklab(49.17% 0.186 -0.0804)
OKLCHoklch(49.17% 0.203 336.6)
XYZxyz(19.5922, 10.0268, 24.9434)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1178A #17A12E
analogous
#7317A1 #A1178A #A11745
triadic
#A1178A #8AA117 #178AA1
tetradic
#A1178A #A17317 #17A12E #1745A1
square
#A1178A #A17317 #17A12E #1745A1
split-complementary
#A1178A #45A117 #17A173
monochromatic
#36082E #6B0F5C #A1178A #D71FB8 #E64DCC

Accessibility & contrast

On white

6.99
#A1178A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A1178A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1178A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1178A#FFFFFF#000000##FFFFFF
##A1178A1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#AA2452
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1178a;
/* rgb */ color: rgb(161, 23, 138);
/* oklch */ color: oklch(49.2% 0.203 336.6);
Tailwind
colors: {
  custom: {
    50: '#c169ac',
    500: '#a1178a',
    950: '#000000',
  },
}
SCSS
$custom: #a1178a;
$custom-light: #c169ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1178a",
  "rgb": {
    "r": 161,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 310,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.20261,
    "h": 336.6
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#A1178A
secondary
#4CC761
accent
#F25536
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1178A

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

Preview Lab → · Contrast checker → · Palette generator →

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