#A1247C#A1247C

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

Color values

HEX#A1247C
RGBrgb(161, 36, 124)
HSLhsl(318, 63%, 39%)
HSVhsv(318, 78%, 63%)
CMYKcmyk(0%, 77.6%, 23%, 36.9%)
CIE-LABlab(38.37, 57.84, -20.05)
CIE-LCHlch(38.37, 61.22, 340.88°)
OKLaboklab(49.29% 0.1743 -0.0537)
OKLCHoklch(49.29% 0.182 342.9)
XYZxyz(18.9676, 10.2961, 20.0533)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1247C #24A149
analogous
#8724A1 #A1247C #A1243D
triadic
#A1247C #7CA124 #247CA1
tetradic
#A1247C #A18724 #24A149 #243DA1
square
#A1247C #A18724 #24A149 #243DA1
split-complementary
#A1247C #3DA124 #24A187
monochromatic
#3D0E2F #6F1955 #A1247C #D131A2 #DC63B8

Accessibility & contrast

On white

6.87
#A1247C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A1247C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1247C#FFFFFF#000000##FFFFFF
##A1247C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#596279
Tritanopia (blue-blind)
#AC254D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1247c;
/* rgb */ color: rgb(161, 36, 124);
/* oklch */ color: oklch(49.3% 0.182 342.9);
Tailwind
colors: {
  custom: {
    50: '#c16da2',
    500: '#a1247c',
    950: '#000000',
  },
}
SCSS
$custom: #a1247c;
$custom-light: #c16da2;
$custom-dark: #000000;
JSON
{
  "hex": "#a1247c",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 317.76,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49292,
    "c": 0.18242,
    "h": 342.9
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#A1247C
secondary
#5FC27C
accent
#E67241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #A1247C

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

Preview Lab → · Contrast checker → · Palette generator →

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