#A1248A#A1248A

#A1248A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.192 H 336.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A1248A
RGBrgb(161, 36, 138)
HSLhsl(311, 63%, 39%)
HSVhsv(311, 78%, 63%)
CMYKcmyk(0%, 77.6%, 14.3%, 36.9%)
CIE-LABlab(39.03, 59.79, -27.68)
CIE-LCHlch(39.03, 65.88, 335.16°)
OKLaboklab(49.98% 0.1761 -0.0754)
OKLCHoklch(49.98% 0.192 336.8)
XYZxyz(19.9166, 10.6757, 25.0515)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1248A #24A13B
analogous
#7924A1 #A1248A #A1244B
triadic
#A1248A #8AA124 #248AA1
tetradic
#A1248A #A17924 #24A13B #244BA1
square
#A1248A #A17924 #24A13B #244BA1
split-complementary
#A1248A #4BA124 #24A179
monochromatic
#3D0E34 #6F195F #A1248A #D131B4 #DC63C6

Accessibility & contrast

On white

6.70
#A1248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A1248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1248A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1248A#FFFFFF#000000##FFFFFF
##A1248A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#AA2D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1248a;
/* rgb */ color: rgb(161, 36, 138);
/* oklch */ color: oklch(50.0% 0.192 336.8);
Tailwind
colors: {
  custom: {
    50: '#c16dac',
    500: '#a1248a',
    950: '#000000',
  },
}
SCSS
$custom: #a1248a;
$custom-light: #c16dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a1248a",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 311.04,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.19159,
    "h": 336.8
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#A1248A
secondary
#5FC271
accent
#E66041
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1248A

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

Preview Lab → · Contrast checker → · Palette generator →

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