#A1298D#A1298D

#A1298D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 335.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A1298D
RGBrgb(161, 41, 141)
HSLhsl(310, 59%, 40%)
HSVhsv(310, 75%, 63%)
CMYKcmyk(0%, 74.5%, 12.4%, 36.9%)
CIE-LABlab(39.73, 58.66, -28.42)
CIE-LCHlch(39.73, 65.18, 334.15°)
OKLaboklab(50.54% 0.1717 -0.0775)
OKLCHoklch(50.54% 0.188 335.7)
XYZxyz(20.2989, 11.0879, 26.2652)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1298D #29A13D
analogous
#7929A1 #A1298D #A12951
triadic
#A1298D #8DA129 #298DA1
tetradic
#A1298D #A17929 #29A13D #2951A1
square
#A1298D #A17929 #29A13D #2951A1
split-complementary
#A1298D #51A129 #29A179
monochromatic
#3F1038 #701D62 #A1298D #CD3AB4 #D96BC7

Accessibility & contrast

On white

6.53
#A1298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A1298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1298D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1298D#FFFFFF#000000##FFFFFF
##A1298D1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#A93258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1298d;
/* rgb */ color: rgb(161, 41, 141);
/* oklch */ color: oklch(50.5% 0.188 335.7);
Tailwind
colors: {
  custom: {
    50: '#c06fae',
    500: '#a1298d',
    950: '#000000',
  },
}
SCSS
$custom: #a1298d;
$custom-light: #c06fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1298d",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 310,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.18842,
    "h": 335.7
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#A1298D
secondary
#66C075
accent
#E35F45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1298D

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

Preview Lab → · Contrast checker → · Palette generator →

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