#A3228D#A3228D

#A3228D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.197 H 336.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A3228D
RGBrgb(163, 34, 141)
HSLhsl(310, 65%, 39%)
HSVhsv(310, 79%, 64%)
CMYKcmyk(0%, 79.1%, 13.5%, 36.1%)
CIE-LABlab(39.34, 61.26, -29.01)
CIE-LCHlch(39.34, 67.78, 334.66°)
OKLaboklab(50.32% 0.1801 -0.0791)
OKLCHoklch(50.32% 0.197 336.3)
XYZxyz(20.4844, 10.8556, 26.2107)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228D #22A338
analogous
#7822A3 #A3228D #A3224C
triadic
#A3228D #8DA322 #228DA3
tetradic
#A3228D #A37822 #22A338 #224CA3
square
#A3228D #A37822 #22A338 #224CA3
split-complementary
#A3228D #4CA322 #22A378
monochromatic
#3E0D35 #701761 #A3228D #D42FB7 #DE61C9

Accessibility & contrast

On white

6.62
#A3228D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A3228D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228D
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228D#FFFFFF#000000##FFFFFF
##A3228D1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#54638A
Tritanopia (blue-blind)
#AC2C56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3228d;
/* rgb */ color: rgb(163, 34, 141);
/* oklch */ color: oklch(50.3% 0.197 336.3);
Tailwind
colors: {
  custom: {
    50: '#c26dae',
    500: '#a3228d',
    950: '#000000',
  },
}
SCSS
$custom: #a3228d;
$custom-light: #c26dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228d",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 310.233,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.19668,
    "h": 336.3
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#A3228D
secondary
#5EC36F
accent
#E85C3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3228D

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

Preview Lab → · Contrast checker → · Palette generator →

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