#A1298F#A1298F

#A1298F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.190 H 334.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A1298F
RGBrgb(161, 41, 143)
HSLhsl(309, 59%, 40%)
HSVhsv(309, 75%, 63%)
CMYKcmyk(0%, 74.5%, 11.2%, 36.9%)
CIE-LABlab(39.83, 58.96, -29.48)
CIE-LCHlch(39.83, 65.92, 333.44°)
OKLaboklab(50.64% 0.1719 -0.0806)
OKLCHoklch(50.64% 0.19 334.9)
XYZxyz(20.4490, 11.1479, 27.0561)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1298F #29A13B
analogous
#7729A1 #A1298F #A12953
triadic
#A1298F #8FA129 #298FA1
tetradic
#A1298F #A17729 #29A13B #2953A1
square
#A1298F #A17729 #29A13B #2953A1
split-complementary
#A1298F #53A129 #29A177
monochromatic
#3F1038 #701D64 #A1298F #CD3AB7 #D96BC9

Accessibility & contrast

On white

6.50
#A1298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A1298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1298F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1298F#FFFFFF#000000##FFFFFF
##A1298F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A93359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1298f;
/* rgb */ color: rgb(161, 41, 143);
/* oklch */ color: oklch(50.6% 0.190 334.9);
Tailwind
colors: {
  custom: {
    50: '#c06fb0',
    500: '#a1298f',
    950: '#000000',
  },
}
SCSS
$custom: #a1298f;
$custom-light: #c06fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1298f",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 309,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.18986,
    "h": 334.9
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#A1298F
secondary
#66C073
accent
#E35D45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1298F

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

Preview Lab → · Contrast checker → · Palette generator →

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