#A1168F#A1168F

#A1168F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.207 H 334.7°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A1168F
RGBrgb(161, 22, 143)
HSLhsl(308, 76%, 36%)
HSVhsv(308, 86%, 63%)
CMYKcmyk(0%, 86.3%, 11.2%, 36.9%)
CIE-LABlab(38.09, 63.99, -32.23)
CIE-LCHlch(38.09, 71.64, 333.27°)
OKLaboklab(49.39% 0.1868 -0.0884)
OKLCHoklch(49.39% 0.207 334.7)
XYZxyz(19.9431, 10.1359, 26.8874)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1168F #16A128
analogous
#6D16A1 #A1168F #A11649
triadic
#A1168F #8FA116 #168FA1
tetradic
#A1168F #A16D16 #16A128 #1649A1
square
#A1168F #A16D16 #16A128 #1649A1
split-complementary
#A1168F #49A116 #16A16D
monochromatic
#35072F #6B0F5F #A1168F #D71DBF #E64BD2

Accessibility & contrast

On white

6.94
#A1168F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A1168F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1168F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1168F#FFFFFF#000000##FFFFFF
##A1168F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D92
Deuteranopia (green-blind)
#4E608C
Tritanopia (blue-blind)
#A92755
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1168f;
/* rgb */ color: rgb(161, 22, 143);
/* oklch */ color: oklch(49.4% 0.207 334.7);
Tailwind
colors: {
  custom: {
    50: '#c169b0',
    500: '#a1168f',
    950: '#000000',
  },
}
SCSS
$custom: #a1168f;
$custom-light: #c169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1168f",
  "rgb": {
    "r": 161,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 307.77,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.20662,
    "h": 334.7
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#A1168F
secondary
#4BC85B
accent
#F34E35
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1168F

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

Preview Lab → · Contrast checker → · Palette generator →

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