#A1247D#A1247D

#A1247D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.183 H 342.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A1247D
RGBrgb(161, 36, 125)
HSLhsl(317, 63%, 39%)
HSVhsv(317, 78%, 63%)
CMYKcmyk(0%, 77.6%, 22.4%, 36.9%)
CIE-LABlab(38.41, 57.97, -20.60)
CIE-LCHlch(38.41, 61.53, 340.43°)
OKLaboklab(49.34% 0.1745 -0.0553)
OKLCHoklch(49.34% 0.183 342.4)
XYZxyz(19.0312, 10.3215, 20.3881)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247D #24A148
analogous
#8624A1 #A1247D #A1243E
triadic
#A1247D #7DA124 #247DA1
tetradic
#A1247D #A18624 #24A148 #243EA1
square
#A1247D #A18624 #24A148 #243EA1
split-complementary
#A1247D #3EA124 #24A186
monochromatic
#3D0E2F #6F1956 #A1247D #D131A3 #DC63B9

Accessibility & contrast

On white

6.85
#A1247D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A1247D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1247D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1247D#FFFFFF#000000##FFFFFF
##A1247D1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#AB254E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1247d;
/* rgb */ color: rgb(161, 36, 125);
/* oklch */ color: oklch(49.3% 0.183 342.4);
Tailwind
colors: {
  custom: {
    50: '#c16da3',
    500: '#a1247d',
    950: '#000000',
  },
}
SCSS
$custom: #a1247d;
$custom-light: #c16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247d",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 317.28,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.18304,
    "h": 342.4
  },
  "luminance": 0.10319
}

Semantic roles & 50–950 ramp

primary
#A1247D
secondary
#5FC27C
accent
#E67141
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1247D

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

Preview Lab → · Contrast checker → · Palette generator →

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