#A12292#A12292

#A12292 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.199 H 333.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A12292
RGBrgb(161, 34, 146)
HSLhsl(307, 65%, 38%)
HSVhsv(307, 79%, 63%)
CMYKcmyk(0%, 78.9%, 9.3%, 36.9%)
CIE-LABlab(39.24, 61.55, -32.24)
CIE-LCHlch(39.24, 69.49, 332.36°)
OKLaboklab(50.27% 0.1784 -0.0885)
OKLCHoklch(50.27% 0.199 333.6)
XYZxyz(20.4585, 10.7982, 28.1953)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12292 #22A131
analogous
#7022A1 #A12292 #A12252
triadic
#A12292 #92A122 #2292A1
tetradic
#A12292 #A17022 #22A131 #2252A1
square
#A12292 #A17022 #22A131 #2252A1
split-complementary
#A12292 #52A122 #22A170
monochromatic
#3C0D36 #6E1764 #A12292 #D32DBF #DD60CF

Accessibility & contrast

On white

6.65
#A12292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A12292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12292
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12292#FFFFFF#000000##FFFFFF
##A122921.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5195
Deuteranopia (green-blind)
#4F638F
Tritanopia (blue-blind)
#A93059
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12292;
/* rgb */ color: rgb(161, 34, 146);
/* oklch */ color: oklch(50.3% 0.199 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16db2',
    500: '#a12292',
    950: '#000000',
  },
}
SCSS
$custom: #a12292;
$custom-light: #c16db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12292",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 307.087,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.19912,
    "h": 333.6
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#A12292
secondary
#5DC269
accent
#E85440
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12292

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

Preview Lab → · Contrast checker → · Palette generator →

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