#A1168A#A1168A

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

Color values

HEX#A1168A
RGBrgb(161, 22, 138)
HSLhsl(310, 76%, 36%)
HSVhsv(310, 86%, 63%)
CMYKcmyk(0%, 86.3%, 14.3%, 36.9%)
CIE-LABlab(37.82, 63.28, -29.57)
CIE-LCHlch(37.82, 69.85, 334.95°)
OKLaboklab(49.12% 0.1866 -0.0807)
OKLCHoklch(49.12% 0.203 336.6)
XYZxyz(19.5727, 9.9878, 24.9369)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1168A #16A12D
analogous
#7216A1 #A1168A #A11644
triadic
#A1168A #8AA116 #168AA1
tetradic
#A1168A #A17216 #16A12D #1644A1
square
#A1168A #A17216 #16A12D #1644A1
split-complementary
#A1168A #44A116 #16A172
monochromatic
#35072E #6B0F5C #A1168A #D71DB8 #E64BCD

Accessibility & contrast

On white

7.01
#A1168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A1168A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1168A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1168A#FFFFFF#000000##FFFFFF
##A1168A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1168a;
/* rgb */ color: rgb(161, 22, 138);
/* oklch */ color: oklch(49.1% 0.203 336.6);
Tailwind
colors: {
  custom: {
    50: '#c169ac',
    500: '#a1168a',
    950: '#000000',
  },
}
SCSS
$custom: #a1168a;
$custom-light: #c169ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1168a",
  "rgb": {
    "r": 161,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 309.928,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.2033,
    "h": 336.6
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#A1168A
secondary
#4BC860
accent
#F35535
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1168A

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

Preview Lab → · Contrast checker → · Palette generator →

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