#A1228B#A1228B

#A1228B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.194 H 336.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A1228B
RGBrgb(161, 34, 139)
HSLhsl(310, 65%, 38%)
HSVhsv(310, 79%, 63%)
CMYKcmyk(0%, 78.9%, 13.7%, 36.9%)
CIE-LABlab(38.88, 60.52, -28.53)
CIE-LCHlch(38.88, 66.90, 334.76°)
OKLaboklab(49.89% 0.178 -0.0778)
OKLCHoklch(49.89% 0.194 336.4)
XYZxyz(19.9305, 10.5871, 25.4149)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1228B #22A138
analogous
#7722A1 #A1228B #A1224B
triadic
#A1228B #8BA122 #228BA1
tetradic
#A1228B #A17722 #22A138 #224BA1
square
#A1228B #A17722 #22A138 #224BA1
split-complementary
#A1228B #4BA122 #22A177
monochromatic
#3C0D34 #6E175F #A1228B #D32DB6 #DD60C8

Accessibility & contrast

On white

6.74
#A1228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A1228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1228B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1228B#FFFFFF#000000##FFFFFF
##A1228B1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8E
Deuteranopia (green-blind)
#536288
Tritanopia (blue-blind)
#AA2C55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1228b;
/* rgb */ color: rgb(161, 34, 139);
/* oklch */ color: oklch(49.9% 0.194 336.4);
Tailwind
colors: {
  custom: {
    50: '#c16cad',
    500: '#a1228b',
    950: '#000000',
  },
}
SCSS
$custom: #a1228b;
$custom-light: #c16cad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1228b",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 310.394,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49889,
    "c": 0.19423,
    "h": 336.4
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#A1228B
secondary
#5DC26E
accent
#E85D40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1228B

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

Preview Lab → · Contrast checker → · Palette generator →

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