#A3227E#A3227E

#A3227E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.187 H 342.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A3227E
RGBrgb(163, 34, 126)
HSLhsl(317, 65%, 39%)
HSVhsv(317, 79%, 64%)
CMYKcmyk(0%, 79.1%, 22.7%, 36.1%)
CIE-LABlab(38.62, 59.18, -20.88)
CIE-LCHlch(38.62, 62.76, 340.57°)
OKLaboklab(49.57% 0.1783 -0.056)
OKLCHoklch(49.57% 0.187 342.6)
XYZxyz(19.4429, 10.4390, 20.7256)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3227E #22A347
analogous
#8722A3 #A3227E #A3223E
triadic
#A3227E #7EA322 #227EA3
tetradic
#A3227E #A38722 #22A347 #223EA3
square
#A3227E #A38722 #22A347 #223EA3
split-complementary
#A3227E #3EA322 #22A387
monochromatic
#3E0D30 #701757 #A3227E #D42FA4 #DE61BA

Accessibility & contrast

On white

6.80
#A3227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A3227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3227E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3227E#FFFFFF#000000##FFFFFF
##A3227E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#AE234E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a3227e;
/* rgb */ color: rgb(163, 34, 126);
/* oklch */ color: oklch(49.6% 0.187 342.6);
Tailwind
colors: {
  custom: {
    50: '#c26ca3',
    500: '#a3227e',
    950: '#000000',
  },
}
SCSS
$custom: #a3227e;
$custom-light: #c26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a3227e",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 317.209,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.1869,
    "h": 342.6
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#A3227E
secondary
#5EC37B
accent
#E8703F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A3227E

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

Preview Lab → · Contrast checker → · Palette generator →

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