#A1226B#A1226B

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

Color values

HEX#A1226B
RGBrgb(161, 34, 107)
HSLhsl(326, 65%, 38%)
HSVhsv(326, 79%, 63%)
CMYKcmyk(0%, 78.9%, 33.5%, 36.9%)
CIE-LABlab(37.45, 56.33, -10.79)
CIE-LCHlch(37.45, 57.35, 349.15°)
OKLaboklab(48.4% 0.1726 -0.0281)
OKLCHoklch(48.4% 0.175 350.8)
XYZxyz(17.9249, 9.7848, 14.8518)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1226B #22A158
analogous
#9722A1 #A1226B #A1222B
triadic
#A1226B #6BA122 #226BA1
tetradic
#A1226B #A19722 #22A158 #222BA1
square
#A1226B #A19722 #22A158 #222BA1
split-complementary
#A1226B #2BA122 #22A197
monochromatic
#3C0D28 #6E1749 #A1226B #D32D8C #DD60A8

Accessibility & contrast

On white

7.10
#A1226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A1226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A1226B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1226B#FFFFFF#000000##FFFFFF
##A1226B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5E6068
Tritanopia (blue-blind)
#AD1744
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a1226b;
/* rgb */ color: rgb(161, 34, 107);
/* oklch */ color: oklch(48.4% 0.175 350.8);
Tailwind
colors: {
  custom: {
    50: '#c16b95',
    500: '#a1226b',
    950: '#000000',
  },
}
SCSS
$custom: #a1226b;
$custom-light: #c16b95;
$custom-dark: #000000;
JSON
{
  "hex": "#a1226b",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 325.512,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48397,
    "c": 0.17487,
    "h": 350.8
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#A1226B
secondary
#5DC288
accent
#E88740
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #A1226B

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

Preview Lab → · Contrast checker → · Palette generator →

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