#A1298C#A1298C

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

Color values

HEX#A1298C
RGBrgb(161, 41, 140)
HSLhsl(311, 59%, 40%)
HSVhsv(311, 75%, 63%)
CMYKcmyk(0%, 74.5%, 13%, 36.9%)
CIE-LABlab(39.68, 58.51, -27.88)
CIE-LCHlch(39.68, 64.82, 334.52°)
OKLaboklab(50.48% 0.1716 -0.076)
OKLCHoklch(50.48% 0.188 336.1)
XYZxyz(20.2248, 11.0582, 25.8751)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1298C #29A13E
analogous
#7A29A1 #A1298C #A12950
triadic
#A1298C #8CA129 #298CA1
tetradic
#A1298C #A17A29 #29A13E #2950A1
square
#A1298C #A17A29 #29A13E #2950A1
split-complementary
#A1298C #50A129 #29A17A
monochromatic
#3F1037 #701D62 #A1298C #CD3AB3 #D96BC6

Accessibility & contrast

On white

6.54
#A1298C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A1298C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1298C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1298C#FFFFFF#000000##FFFFFF
##A1298C1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#A93258
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1298c;
/* rgb */ color: rgb(161, 41, 140);
/* oklch */ color: oklch(50.5% 0.188 336.1);
Tailwind
colors: {
  custom: {
    50: '#c06fae',
    500: '#a1298c',
    950: '#000000',
  },
}
SCSS
$custom: #a1298c;
$custom-light: #c06fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1298c",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 310.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.18772,
    "h": 336.1
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#A1298C
secondary
#66C076
accent
#E36145
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1298C

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

Preview Lab → · Contrast checker → · Palette generator →

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