#A12291#A12291

#A12291 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 334.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A12291
RGBrgb(161, 34, 145)
HSLhsl(308, 65%, 38%)
HSVhsv(308, 79%, 63%)
CMYKcmyk(0%, 78.9%, 9.9%, 36.9%)
CIE-LABlab(39.19, 61.40, -31.71)
CIE-LCHlch(39.19, 69.11, 332.68°)
OKLaboklab(50.21% 0.1783 -0.087)
OKLCHoklch(50.21% 0.198 334)
XYZxyz(20.3810, 10.7673, 27.7875)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12291 #22A132
analogous
#7122A1 #A12291 #A12251
triadic
#A12291 #91A122 #2291A1
tetradic
#A12291 #A17122 #22A132 #2251A1
square
#A12291 #A17122 #22A132 #2251A1
split-complementary
#A12291 #51A122 #22A171
monochromatic
#3C0D36 #6E1763 #A12291 #D32DBE #DD60CE

Accessibility & contrast

On white

6.66
#A12291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A12291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12291
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12291#FFFFFF#000000##FFFFFF
##A122911.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5194
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A92F59
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12291;
/* rgb */ color: rgb(161, 34, 145);
/* oklch */ color: oklch(50.2% 0.198 334.0);
Tailwind
colors: {
  custom: {
    50: '#c16db1',
    500: '#a12291',
    950: '#000000',
  },
}
SCSS
$custom: #a12291;
$custom-light: #c16db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12291",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 307.559,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.19841,
    "h": 334
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#A12291
secondary
#5DC269
accent
#E85540
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12291

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

Preview Lab → · Contrast checker → · Palette generator →

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