#A1249B#A1249B

#A1249B is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 330.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A1249B
RGBrgb(161, 36, 155)
HSLhsl(303, 63%, 39%)
HSVhsv(303, 78%, 63%)
CMYKcmyk(0%, 77.6%, 3.7%, 36.9%)
CIE-LABlab(39.93, 62.38, -36.61)
CIE-LCHlch(39.93, 72.33, 329.59°)
OKLaboklab(50.92% 0.1769 -0.1011)
OKLCHoklch(50.92% 0.204 330.2)
XYZxyz(21.2451, 11.2071, 32.0482)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1249B #24A12A
analogous
#6824A1 #A1249B #A1245C
triadic
#A1249B #9BA124 #249BA1
tetradic
#A1249B #A16824 #24A12A #245CA1
square
#A1249B #A16824 #24A12A #245CA1
split-complementary
#A1249B #5CA124 #24A168
monochromatic
#3D0E3B #6F196B #A1249B #D131C9 #DC63D6

Accessibility & contrast

On white

6.48
#A1249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A1249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1249B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1249B#FFFFFF#000000##FFFFFF
##A1249B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#A7365F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1249b;
/* rgb */ color: rgb(161, 36, 155);
/* oklch */ color: oklch(50.9% 0.204 330.2);
Tailwind
colors: {
  custom: {
    50: '#c16eb9',
    500: '#a1249b',
    950: '#000000',
  },
}
SCSS
$custom: #a1249b;
$custom-light: #c16eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a1249b",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 302.88,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.20378,
    "h": 330.2
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#A1249B
secondary
#5FC264
accent
#E64941
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1249B

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

Preview Lab → · Contrast checker → · Palette generator →

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