#A1249D#A1249D

#A1249D is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.205 H 329.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A1249D
RGBrgb(161, 36, 157)
HSLhsl(302, 63%, 39%)
HSVhsv(302, 78%, 63%)
CMYKcmyk(0%, 77.6%, 2.5%, 36.9%)
CIE-LABlab(40.04, 62.70, -37.64)
CIE-LCHlch(40.04, 73.13, 329.02°)
OKLaboklab(51.03% 0.1769 -0.1041)
OKLCHoklch(51.03% 0.205 329.5)
XYZxyz(21.4145, 11.2748, 32.9401)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1249D #24A128
analogous
#6624A1 #A1249D #A1245E
triadic
#A1249D #9DA124 #249DA1
tetradic
#A1249D #A16624 #24A128 #245EA1
square
#A1249D #A16624 #24A128 #245EA1
split-complementary
#A1249D #5EA124 #24A166
monochromatic
#3D0E3B #6F196C #A1249D #D131CC #DC63D8

Accessibility & contrast

On white

6.45
#A1249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A1249D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1249D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1249D#FFFFFF#000000##FFFFFF
##A1249D1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#4A649A
Tritanopia (blue-blind)
#A73760
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1249d;
/* rgb */ color: rgb(161, 36, 157);
/* oklch */ color: oklch(51.0% 0.205 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a1249d',
    950: '#000000',
  },
}
SCSS
$custom: #a1249d;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1249d",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 301.92,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.20527,
    "h": 329.5
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#A1249D
secondary
#5FC262
accent
#E64741
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A1249D

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

Preview Lab → · Contrast checker → · Palette generator →

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