#A1247F#A1247F

#A1247F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.184 H 341.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A1247F
RGBrgb(161, 36, 127)
HSLhsl(316, 63%, 39%)
HSVhsv(316, 78%, 63%)
CMYKcmyk(0%, 77.6%, 21.1%, 36.9%)
CIE-LABlab(38.50, 58.24, -21.71)
CIE-LCHlch(38.50, 62.16, 339.56°)
OKLaboklab(49.43% 0.1748 -0.0584)
OKLCHoklch(49.43% 0.184 341.5)
XYZxyz(19.1602, 10.3731, 21.0677)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247F #24A146
analogous
#8424A1 #A1247F #A12440
triadic
#A1247F #7FA124 #247FA1
tetradic
#A1247F #A18424 #24A146 #2440A1
square
#A1247F #A18424 #24A146 #2440A1
split-complementary
#A1247F #40A124 #24A184
monochromatic
#3D0E30 #6F1958 #A1247F #D131A6 #DC63BB

Accessibility & contrast

On white

6.83
#A1247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A1247F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1247F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1247F#FFFFFF#000000##FFFFFF
##A1247F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#AB264F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1247f;
/* rgb */ color: rgb(161, 36, 127);
/* oklch */ color: oklch(49.4% 0.184 341.5);
Tailwind
colors: {
  custom: {
    50: '#c16da4',
    500: '#a1247f',
    950: '#000000',
  },
}
SCSS
$custom: #a1247f;
$custom-light: #c16da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247f",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 316.32,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.1843,
    "h": 341.5
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#A1247F
secondary
#5FC27A
accent
#E66E41
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1247F

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

Preview Lab → · Contrast checker → · Palette generator →

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