#A12296#A12296

#A12296 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.202 H 332.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A12296
RGBrgb(161, 34, 150)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 63%)
CMYKcmyk(0%, 78.9%, 6.8%, 36.9%)
CIE-LABlab(39.45, 62.16, -34.33)
CIE-LCHlch(39.45, 71.02, 331.09°)
OKLaboklab(50.49% 0.1785 -0.0945)
OKLCHoklch(50.49% 0.202 332.1)
XYZxyz(20.7751, 10.9249, 29.8628)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12296 #22A12D
analogous
#6C22A1 #A12296 #A12256
triadic
#A12296 #96A122 #2296A1
tetradic
#A12296 #A16C22 #22A12D #2256A1
square
#A12296 #A16C22 #22A12D #2256A1
split-complementary
#A12296 #56A122 #22A16C
monochromatic
#3C0D38 #6E1767 #A12296 #D32DC4 #DD60D3

Accessibility & contrast

On white

6.59
#A12296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12296
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12296#FFFFFF#000000##FFFFFF
##A122961.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175299
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#A8325B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12296;
/* rgb */ color: rgb(161, 34, 150);
/* oklch */ color: oklch(50.5% 0.202 332.1);
Tailwind
colors: {
  custom: {
    50: '#c16db5',
    500: '#a12296',
    950: '#000000',
  },
}
SCSS
$custom: #a12296;
$custom-light: #c16db5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12296",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 305.197,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.20199,
    "h": 332.1
  },
  "luminance": 0.10923
}

Semantic roles & 50–950 ramp

primary
#A12296
secondary
#5DC265
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12296

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

Preview Lab → · Contrast checker → · Palette generator →

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