#A4228C#A4228C

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

Color values

HEX#A4228C
RGBrgb(164, 34, 140)
HSLhsl(311, 66%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 79.3%, 14.6%, 35.7%)
CIE-LABlab(39.47, 61.34, -28.18)
CIE-LCHlch(39.47, 67.50, 335.33°)
OKLaboklab(50.43% 0.181 -0.0767)
OKLCHoklch(50.43% 0.197 337)
XYZxyz(20.6159, 10.9320, 25.8302)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4228C #22A43A
analogous
#7B22A4 #A4228C #A4224B
triadic
#A4228C #8CA422 #228CA4
tetradic
#A4228C #A47B22 #22A43A #224BA4
square
#A4228C #A47B22 #22A43A #224BA4
split-complementary
#A4228C #4BA422 #22A47B
monochromatic
#3F0D35 #711761 #A4228C #D42FB6 #DE62C7

Accessibility & contrast

On white

6.59
#A4228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A4228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4228C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4228C#FFFFFF#000000##FFFFFF
##A4228C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#AD2B56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4228c;
/* rgb */ color: rgb(164, 34, 140);
/* oklch */ color: oklch(50.4% 0.197 337.0);
Tailwind
colors: {
  custom: {
    50: '#c36dae',
    500: '#a4228c',
    950: '#000000',
  },
}
SCSS
$custom: #a4228c;
$custom-light: #c36dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4228c",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 311.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.19655,
    "h": 337
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#A4228C
secondary
#5EC471
accent
#E95E3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4228C

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

Preview Lab → · Contrast checker → · Palette generator →

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