#A4227E#A4227E

#A4227E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.188 H 342.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A4227E
RGBrgb(164, 34, 126)
HSLhsl(318, 66%, 39%)
HSVhsv(318, 79%, 64%)
CMYKcmyk(0%, 79.3%, 23.2%, 35.7%)
CIE-LABlab(38.80, 59.42, -20.58)
CIE-LCHlch(38.80, 62.88, 340.90°)
OKLaboklab(49.74% 0.1792 -0.0552)
OKLCHoklch(49.74% 0.188 342.9)
XYZxyz(19.6485, 10.5450, 20.7353)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4227E #22A448
analogous
#8922A4 #A4227E #A4223D
triadic
#A4227E #7EA422 #227EA4
tetradic
#A4227E #A48922 #22A448 #223DA4
square
#A4227E #A48922 #22A448 #223DA4
split-complementary
#A4227E #3DA422 #22A489
monochromatic
#3F0D30 #711757 #A4227E #D42FA4 #DE62BA

Accessibility & contrast

On white

6.76
#A4227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A4227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4227E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4227E#FFFFFF#000000##FFFFFF
##A4227E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#AF234E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4227e;
/* rgb */ color: rgb(164, 34, 126);
/* oklch */ color: oklch(49.7% 0.188 342.9);
Tailwind
colors: {
  custom: {
    50: '#c36ca3',
    500: '#a4227e',
    950: '#000000',
  },
}
SCSS
$custom: #a4227e;
$custom-light: #c36ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4227e",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 317.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.18753,
    "h": 342.9
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#A4227E
secondary
#5EC47C
accent
#E9713F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4227E

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

Preview Lab → · Contrast checker → · Palette generator →

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