#A4228A#A4228A

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

Color values

HEX#A4228A
RGBrgb(164, 34, 138)
HSLhsl(312, 66%, 39%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 79.3%, 15.9%, 35.7%)
CIE-LABlab(39.37, 61.06, -27.11)
CIE-LCHlch(39.37, 66.80, 336.06°)
OKLaboklab(50.33% 0.1808 -0.0737)
OKLCHoklch(50.33% 0.195 337.8)
XYZxyz(20.4698, 10.8735, 25.0606)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4228A #22A43C
analogous
#7D22A4 #A4228A #A42249
triadic
#A4228A #8AA422 #228AA4
tetradic
#A4228A #A47D22 #22A43C #2249A4
square
#A4228A #A47D22 #22A43C #2249A4
split-complementary
#A4228A #49A422 #22A47D
monochromatic
#3F0D35 #71175F #A4228A #D42FB3 #DE62C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4228A#FFFFFF#000000##FFFFFF
##A4228A1.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)
#28508D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#AD2A55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4228a;
/* rgb */ color: rgb(164, 34, 138);
/* oklch */ color: oklch(50.3% 0.195 337.8);
Tailwind
colors: {
  custom: {
    50: '#c36dac',
    500: '#a4228a',
    950: '#000000',
  },
}
SCSS
$custom: #a4228a;
$custom-light: #c36dac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4228a",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 312,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.19521,
    "h": 337.8
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#A4228A
secondary
#5EC473
accent
#E9613F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4228A

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

Preview Lab → · Contrast checker → · Palette generator →

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