#A4227F#A4227F

#A4227F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.188 H 342.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A4227F
RGBrgb(164, 34, 127)
HSLhsl(317, 66%, 39%)
HSVhsv(317, 79%, 64%)
CMYKcmyk(0%, 79.3%, 22.6%, 35.7%)
CIE-LABlab(38.85, 59.55, -21.13)
CIE-LCHlch(38.85, 63.19, 340.47°)
OKLaboklab(49.78% 0.1794 -0.0567)
OKLCHoklch(49.78% 0.188 342.5)
XYZxyz(19.7134, 10.5710, 21.0768)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4227F #22A447
analogous
#8822A4 #A4227F #A4223E
triadic
#A4227F #7FA422 #227FA4
tetradic
#A4227F #A48822 #22A447 #223EA4
square
#A4227F #A48822 #22A447 #223EA4
split-complementary
#A4227F #3EA422 #22A488
monochromatic
#3F0D30 #711758 #A4227F #D42FA5 #DE62BB

Accessibility & contrast

On white

6.74
#A4227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4227F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4227F#FFFFFF#000000##FFFFFF
##A4227F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#AF234F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a4227f;
/* rgb */ color: rgb(164, 34, 127);
/* oklch */ color: oklch(49.8% 0.188 342.5);
Tailwind
colors: {
  custom: {
    50: '#c36ca4',
    500: '#a4227f',
    950: '#000000',
  },
}
SCSS
$custom: #a4227f;
$custom-light: #c36ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4227f",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 317.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49784,
    "c": 0.18814,
    "h": 342.5
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#A4227F
secondary
#5EC47B
accent
#E96F3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4227F

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

Preview Lab → · Contrast checker → · Palette generator →

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