#A12D99#A12D99

#A12D99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.193 H 331.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A12D99
RGBrgb(161, 45, 153)
HSLhsl(304, 56%, 40%)
HSVhsv(304, 72%, 63%)
CMYKcmyk(0%, 72%, 5%, 36.9%)
CIE-LABlab(40.82, 59.18, -33.98)
CIE-LCHlch(40.82, 68.24, 330.13°)
OKLaboklab(51.53% 0.1686 -0.0936)
OKLCHoklch(51.53% 0.193 331)
XYZxyz(21.3861, 11.7554, 31.2735)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D99 #2DA135
analogous
#6F2DA1 #A12D99 #A12D5F
triadic
#A12D99 #99A12D #2D99A1
tetradic
#A12D99 #A16F2D #2DA135 #2D5FA1
square
#A12D99 #A16F2D #2DA135 #2D5FA1
split-complementary
#A12D99 #5FA12D #2DA16F
monochromatic
#41123E #71206C #A12D99 #CA41C1 #D771D0

Accessibility & contrast

On white

6.27
#A12D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A12D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D99
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D99#FFFFFF#000000##FFFFFF
##A12D991.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A73B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12d99;
/* rgb */ color: rgb(161, 45, 153);
/* oklch */ color: oklch(51.5% 0.193 331.0);
Tailwind
colors: {
  custom: {
    50: '#c071b7',
    500: '#a12d99',
    950: '#000000',
  },
}
SCSS
$custom: #a12d99;
$custom-light: #c071b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d99",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 304.138,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51526,
    "c": 0.19281,
    "h": 331
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#A12D99
secondary
#6BBF71
accent
#E05348
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12D99

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

Preview Lab → · Contrast checker → · Palette generator →

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