#A1276B#A1276B

#A1276B is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.170 H 351.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A1276B
RGBrgb(161, 39, 107)
HSLhsl(327, 61%, 39%)
HSVhsv(327, 76%, 63%)
CMYKcmyk(0%, 75.8%, 33.5%, 36.9%)
CIE-LABlab(38.01, 54.76, -9.96)
CIE-LCHlch(38.01, 55.66, 349.70°)
OKLaboklab(48.8% 0.1677 -0.0258)
OKLCHoklch(48.8% 0.17 351.2)
XYZxyz(18.0783, 10.0918, 14.9029)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1276B #27A15D
analogous
#9A27A1 #A1276B #A1272E
triadic
#A1276B #6BA127 #276BA1
tetradic
#A1276B #A19A27 #27A15D #272EA1
square
#A1276B #A19A27 #27A15D #272EA1
split-complementary
#A1276B #2EA127 #27A19A
monochromatic
#3E0F2A #701B4A #A1276B #CE378B #DA68A8

Accessibility & contrast

On white

6.96
#A1276B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A1276B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1276B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1276B#FFFFFF#000000##FFFFFF
##A1276B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C6D
Deuteranopia (green-blind)
#5F6168
Tritanopia (blue-blind)
#AD1E46
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a1276b;
/* rgb */ color: rgb(161, 39, 107);
/* oklch */ color: oklch(48.8% 0.170 351.2);
Tailwind
colors: {
  custom: {
    50: '#c16d95',
    500: '#a1276b',
    950: '#000000',
  },
}
SCSS
$custom: #a1276b;
$custom-light: #c16d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a1276b",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 326.557,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.488,
    "c": 0.16963,
    "h": 351.2
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#A1276B
secondary
#63C08D
accent
#E48B44
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A1276B

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

Preview Lab → · Contrast checker → · Palette generator →

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