#A3228F#A3228F

#A3228F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 335.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A3228F
RGBrgb(163, 34, 143)
HSLhsl(309, 65%, 39%)
HSVhsv(309, 79%, 64%)
CMYKcmyk(0%, 79.1%, 12.3%, 36.1%)
CIE-LABlab(39.44, 61.55, -30.07)
CIE-LCHlch(39.44, 68.50, 333.96°)
OKLaboklab(50.43% 0.1802 -0.0822)
OKLCHoklch(50.43% 0.198 335.5)
XYZxyz(20.6345, 10.9157, 27.0015)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228F #22A336
analogous
#7622A3 #A3228F #A3224E
triadic
#A3228F #8FA322 #228FA3
tetradic
#A3228F #A37622 #22A336 #224EA3
square
#A3228F #A37622 #22A336 #224EA3
split-complementary
#A3228F #4EA322 #22A376
monochromatic
#3E0D36 #701763 #A3228F #D42FBA #DE61CB

Accessibility & contrast

On white

6.60
#A3228F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A3228F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228F#FFFFFF#000000##FFFFFF
##A3228F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225192
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#AB2D57
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3228f;
/* rgb */ color: rgb(163, 34, 143);
/* oklch */ color: oklch(50.4% 0.198 335.5);
Tailwind
colors: {
  custom: {
    50: '#c26db0',
    500: '#a3228f',
    950: '#000000',
  },
}
SCSS
$custom: #a3228f;
$custom-light: #c26db0;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228f",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 309.302,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.19806,
    "h": 335.5
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#A3228F
secondary
#5EC36D
accent
#E85A3F
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3228F

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

Preview Lab → · Contrast checker → · Palette generator →

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