#A1226A#A1226A

#A1226A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.174 H 351.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A1226A
RGBrgb(161, 34, 106)
HSLhsl(326, 65%, 38%)
HSVhsv(326, 79%, 63%)
CMYKcmyk(0%, 78.9%, 34.2%, 36.9%)
CIE-LABlab(37.42, 56.21, -10.22)
CIE-LCHlch(37.42, 57.14, 349.70°)
OKLaboklab(48.36% 0.1723 -0.0265)
OKLCHoklch(48.36% 0.174 351.3)
XYZxyz(17.8726, 9.7639, 14.5763)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1226A #22A159
analogous
#9822A1 #A1226A #A1222B
triadic
#A1226A #6AA122 #226AA1
tetradic
#A1226A #A19822 #22A159 #222BA1
square
#A1226A #A19822 #22A159 #222BA1
split-complementary
#A1226A #2BA122 #22A198
monochromatic
#3C0D27 #6E1749 #A1226A #D32D8B #DD60A7

Accessibility & contrast

On white

7.11
#A1226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#A1226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1226A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1226A#FFFFFF#000000##FFFFFF
##A1226A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6C
Deuteranopia (green-blind)
#5E6067
Tritanopia (blue-blind)
#AD1643
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1226a;
/* rgb */ color: rgb(161, 34, 106);
/* oklch */ color: oklch(48.4% 0.174 351.3);
Tailwind
colors: {
  custom: {
    50: '#c16b94',
    500: '#a1226a',
    950: '#000000',
  },
}
SCSS
$custom: #a1226a;
$custom-light: #c16b94;
$custom-dark: #000000;
JSON
{
  "hex": "#a1226a",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 325.984,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48357,
    "c": 0.17436,
    "h": 351.3
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#A1226A
secondary
#5DC289
accent
#E88940
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #A1226A

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

Preview Lab → · Contrast checker → · Palette generator →

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