#A1246C#A1246C

#A1246C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.173 H 350.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A1246C
RGBrgb(161, 36, 108)
HSLhsl(325, 63%, 39%)
HSVhsv(325, 78%, 63%)
CMYKcmyk(0%, 77.6%, 32.9%, 36.9%)
CIE-LABlab(37.71, 55.84, -11.04)
CIE-LCHlch(37.71, 56.92, 348.81°)
OKLaboklab(48.59% 0.1709 -0.0287)
OKLCHoklch(48.59% 0.173 350.5)
XYZxyz(18.0366, 9.9237, 15.1501)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1246C #24A159
analogous
#9724A1 #A1246C #A1242D
triadic
#A1246C #6CA124 #246CA1
tetradic
#A1246C #A19724 #24A159 #242DA1
square
#A1246C #A19724 #24A159 #242DA1
split-complementary
#A1246C #2DA124 #24A197
monochromatic
#3D0E29 #6F194A #A1246C #D1318D #DC63A9

Accessibility & contrast

On white

7.04
#A1246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#A1246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1246C
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1246C#FFFFFF#000000##FFFFFF
##A1246C1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6E
Deuteranopia (green-blind)
#5E6169
Tritanopia (blue-blind)
#AD1A45
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1246c;
/* rgb */ color: rgb(161, 36, 108);
/* oklch */ color: oklch(48.6% 0.173 350.5);
Tailwind
colors: {
  custom: {
    50: '#c16c96',
    500: '#a1246c',
    950: '#000000',
  },
}
SCSS
$custom: #a1246c;
$custom-light: #c16c96;
$custom-dark: #000000;
JSON
{
  "hex": "#a1246c",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 325.44,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48593,
    "c": 0.17334,
    "h": 350.5
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#A1246C
secondary
#5FC289
accent
#E68741
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A1246C

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

Preview Lab → · Contrast checker → · Palette generator →

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