#A1247A#A1247A

#A1247A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.181 H 343.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A1247A
RGBrgb(161, 36, 122)
HSLhsl(319, 63%, 39%)
HSVhsv(319, 78%, 63%)
CMYKcmyk(0%, 77.6%, 24.2%, 36.9%)
CIE-LABlab(38.28, 57.58, -18.94)
CIE-LCHlch(38.28, 60.61, 341.79°)
OKLaboklab(49.2% 0.174 -0.0506)
OKLCHoklch(49.2% 0.181 343.8)
XYZxyz(18.8424, 10.2460, 19.3940)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247A #24A14B
analogous
#8924A1 #A1247A #A1243B
triadic
#A1247A #7AA124 #247AA1
tetradic
#A1247A #A18924 #24A14B #243BA1
square
#A1247A #A18924 #24A14B #243BA1
split-complementary
#A1247A #3BA124 #24A189
monochromatic
#3D0E2E #6F1954 #A1247A #D1319F #DC63B6

Accessibility & contrast

On white

6.89
#A1247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1247A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1247A#FFFFFF#000000##FFFFFF
##A1247A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#5A6277
Tritanopia (blue-blind)
#AC234C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1247a;
/* rgb */ color: rgb(161, 36, 122);
/* oklch */ color: oklch(49.2% 0.181 343.8);
Tailwind
colors: {
  custom: {
    50: '#c16da0',
    500: '#a1247a',
    950: '#000000',
  },
}
SCSS
$custom: #a1247a;
$custom-light: #c16da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247a",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 318.72,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49199,
    "c": 0.1812,
    "h": 343.8
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#A1247A
secondary
#5FC27E
accent
#E67541
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A1247A

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

Preview Lab → · Contrast checker → · Palette generator →

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