#A1198F#A1198F

#A1198F is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.205 H 334.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A1198F
RGBrgb(161, 25, 143)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 63%)
CMYKcmyk(0%, 84.5%, 11.2%, 36.9%)
CIE-LABlab(38.30, 63.36, -31.89)
CIE-LCHlch(38.30, 70.93, 333.29°)
OKLaboklab(49.55% 0.1849 -0.0874)
OKLCHoklch(49.55% 0.205 334.7)
XYZxyz(20.0038, 10.2574, 26.9076)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1198F #19A12B
analogous
#6F19A1 #A1198F #A1194B
triadic
#A1198F #8FA119 #198FA1
tetradic
#A1198F #A16F19 #19A12B #194BA1
square
#A1198F #A16F19 #19A12B #194BA1
split-complementary
#A1198F #4BA119 #19A16F
monochromatic
#370931 #6C1160 #A1198F #D621BE #E450D0

Accessibility & contrast

On white

6.88
#A1198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1198F
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1198F#FFFFFF#000000##FFFFFF
##A1198F1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A92855
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1198f;
/* rgb */ color: rgb(161, 25, 143);
/* oklch */ color: oklch(49.5% 0.205 334.7);
Tailwind
colors: {
  custom: {
    50: '#c16ab0',
    500: '#a1198f',
    950: '#000000',
  },
}
SCSS
$custom: #a1198f;
$custom-light: #c16ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1198f",
  "rgb": {
    "r": 161,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 307.941,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.20453,
    "h": 334.7
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#A1198F
secondary
#4FC65F
accent
#F05038
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1198F

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

Preview Lab → · Contrast checker → · Palette generator →

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