#A3228B#A3228B

#A3228B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.195 H 337.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A3228B
RGBrgb(163, 34, 139)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 79.1%, 14.7%, 36.1%)
CIE-LABlab(39.24, 60.97, -27.94)
CIE-LCHlch(39.24, 67.07, 335.38°)
OKLaboklab(50.22% 0.1799 -0.0761)
OKLCHoklch(50.22% 0.195 337.1)
XYZxyz(20.3369, 10.7966, 25.4340)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228B #22A33A
analogous
#7A22A3 #A3228B #A3224A
triadic
#A3228B #8BA322 #228BA3
tetradic
#A3228B #A37A22 #22A33A #224AA3
square
#A3228B #A37A22 #22A33A #224AA3
split-complementary
#A3228B #4AA322 #22A37A
monochromatic
#3E0D35 #701760 #A3228B #D42FB5 #DE61C7

Accessibility & contrast

On white

6.65
#A3228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A3228B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228B
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228B#FFFFFF#000000##FFFFFF
##A3228B1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508E
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#AC2B55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3228b;
/* rgb */ color: rgb(163, 34, 139);
/* oklch */ color: oklch(50.2% 0.195 337.1);
Tailwind
colors: {
  custom: {
    50: '#c26dad',
    500: '#a3228b',
    950: '#000000',
  },
}
SCSS
$custom: #a3228b;
$custom-light: #c26dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228b",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 311.163,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.19533,
    "h": 337.1
  },
  "luminance": 0.10795
}

Semantic roles & 50–950 ramp

primary
#A3228B
secondary
#5EC371
accent
#E85F3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3228B

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

Preview Lab → · Contrast checker → · Palette generator →

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