#A1188F#A1188F

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

Color values

HEX#A1188F
RGBrgb(161, 24, 143)
HSLhsl(308, 74%, 36%)
HSVhsv(308, 85%, 63%)
CMYKcmyk(0%, 85.1%, 11.2%, 36.9%)
CIE-LABlab(38.23, 63.58, -32.00)
CIE-LCHlch(38.23, 71.18, 333.28°)
OKLaboklab(49.49% 0.1856 -0.0877)
OKLCHoklch(49.49% 0.205 334.7)
XYZxyz(19.9828, 10.2154, 26.9006)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1188F #18A12A
analogous
#6F18A1 #A1188F #A1184B
triadic
#A1188F #8FA118 #188FA1
tetradic
#A1188F #A16F18 #18A12A #184BA1
square
#A1188F #A16F18 #18A12A #184BA1
split-complementary
#A1188F #4BA118 #18A16F
monochromatic
#360830 #6C1060 #A1188F #D620BE #E54FD1

Accessibility & contrast

On white

6.90
#A1188F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A1188F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1188F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1188F#FFFFFF#000000##FFFFFF
##A1188F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1188f;
/* rgb */ color: rgb(161, 24, 143);
/* oklch */ color: oklch(49.5% 0.205 334.7);
Tailwind
colors: {
  custom: {
    50: '#c16ab0',
    500: '#a1188f',
    950: '#000000',
  },
}
SCSS
$custom: #a1188f;
$custom-light: #c16ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1188f",
  "rgb": {
    "r": 161,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 307.883,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.20525,
    "h": 334.7
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#A1188F
secondary
#4EC75E
accent
#F14F37
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #A1188F

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

Preview Lab → · Contrast checker → · Palette generator →

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