#A12E92#A12E92

#A12E92 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 333.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A12E92
RGBrgb(161, 46, 146)
HSLhsl(308, 56%, 41%)
HSVhsv(308, 71%, 63%)
CMYKcmyk(0%, 71.4%, 9.3%, 36.9%)
CIE-LABlab(40.59, 57.71, -30.12)
CIE-LCHlch(40.59, 65.09, 332.44°)
OKLaboklab(51.24% 0.1671 -0.0825)
OKLCHoklch(51.24% 0.186 333.7)
XYZxyz(20.8634, 11.6081, 28.3303)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E92 #2EA13D
analogous
#762EA1 #A12E92 #A12E58
triadic
#A12E92 #92A12E #2E92A1
tetradic
#A12E92 #A1762E #2EA13D #2E58A1
square
#A12E92 #A1762E #2EA13D #2E58A1
split-complementary
#A12E92 #58A12E #2EA176
monochromatic
#42133C #712067 #A12E92 #C943B8 #D773CA

Accessibility & contrast

On white

6.32
#A12E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E92
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E92#FFFFFF#000000##FFFFFF
##A12E921.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#54668F
Tritanopia (blue-blind)
#A8385C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12e92;
/* rgb */ color: rgb(161, 46, 146);
/* oklch */ color: oklch(51.2% 0.186 333.7);
Tailwind
colors: {
  custom: {
    50: '#c072b2',
    500: '#a12e92',
    950: '#000000',
  },
}
SCSS
$custom: #a12e92;
$custom-light: #c072b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e92",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 307.826,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.18633,
    "h": 333.7
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#A12E92
secondary
#6CBE77
accent
#DF5C49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12E92

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

Preview Lab → · Contrast checker → · Palette generator →

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