#A1246B#A1246B

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

Color values

HEX#A1246B
RGBrgb(161, 36, 107)
HSLhsl(326, 63%, 39%)
HSVhsv(326, 78%, 63%)
CMYKcmyk(0%, 77.6%, 33.5%, 36.9%)
CIE-LABlab(37.67, 55.72, -10.47)
CIE-LCHlch(37.67, 56.70, 349.36°)
OKLaboklab(48.55% 0.1707 -0.0272)
OKLCHoklch(48.55% 0.173 350.9)
XYZxyz(17.9837, 9.9025, 14.8714)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1246B #24A15A
analogous
#9824A1 #A1246B #A1242C
triadic
#A1246B #6BA124 #246BA1
tetradic
#A1246B #A19824 #24A15A #242CA1
square
#A1246B #A19824 #24A15A #242CA1
split-complementary
#A1246B #2CA124 #24A198
monochromatic
#3D0E29 #6F194A #A1246B #D1318C #DC63A8

Accessibility & contrast

On white

7.05
#A1246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A1246B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1246B#FFFFFF#000000##FFFFFF
##A1246B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#5E6168
Tritanopia (blue-blind)
#AD1A44
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1246b;
/* rgb */ color: rgb(161, 36, 107);
/* oklch */ color: oklch(48.6% 0.173 350.9);
Tailwind
colors: {
  custom: {
    50: '#c16c95',
    500: '#a1246b',
    950: '#000000',
  },
}
SCSS
$custom: #a1246b;
$custom-light: #c16c95;
$custom-dark: #000000;
JSON
{
  "hex": "#a1246b",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 325.92,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.17283,
    "h": 350.9
  },
  "luminance": 0.099
}

Semantic roles & 50–950 ramp

primary
#A1246B
secondary
#5FC28A
accent
#E68941
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A1246B

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

Preview Lab → · Contrast checker → · Palette generator →

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