#A3228A#A3228A

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

Color values

HEX#A3228A
RGBrgb(163, 34, 138)
HSLhsl(312, 65%, 39%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 79.1%, 15.3%, 36.1%)
CIE-LABlab(39.19, 60.83, -27.40)
CIE-LCHlch(39.19, 66.72, 335.75°)
OKLaboklab(50.16% 0.1798 -0.0745)
OKLCHoklch(50.16% 0.195 337.5)
XYZxyz(20.2642, 10.7675, 25.0509)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228A #22A33B
analogous
#7B22A3 #A3228A #A32249
triadic
#A3228A #8AA322 #228AA3
tetradic
#A3228A #A37B22 #22A33B #2249A3
square
#A3228A #A37B22 #22A33B #2249A3
split-complementary
#A3228A #49A322 #22A37B
monochromatic
#3E0D34 #70175F #A3228A #D42FB4 #DE61C6

Accessibility & contrast

On white

6.66
#A3228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A3228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228A#FFFFFF#000000##FFFFFF
##A3228A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#AC2B55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3228a;
/* rgb */ color: rgb(163, 34, 138);
/* oklch */ color: oklch(50.2% 0.195 337.5);
Tailwind
colors: {
  custom: {
    50: '#c26dac',
    500: '#a3228a',
    950: '#000000',
  },
}
SCSS
$custom: #a3228a;
$custom-light: #c26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228a",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 311.628,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.19465,
    "h": 337.5
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A3228A

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

Preview Lab → · Contrast checker → · Palette generator →

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