#A3227F#A3227F

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

Color values

HEX#A3227F
RGBrgb(163, 34, 127)
HSLhsl(317, 65%, 39%)
HSVhsv(317, 79%, 64%)
CMYKcmyk(0%, 79.1%, 22.1%, 36.1%)
CIE-LABlab(38.66, 59.31, -21.43)
CIE-LCHlch(38.66, 63.06, 340.14°)
OKLaboklab(49.62% 0.1785 -0.0576)
OKLCHoklch(49.62% 0.188 342.1)
XYZxyz(19.5078, 10.4650, 21.0671)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3227F #22A346
analogous
#8622A3 #A3227F #A3223E
triadic
#A3227F #7FA322 #227FA3
tetradic
#A3227F #A38622 #22A346 #223EA3
square
#A3227F #A38622 #22A346 #223EA3
split-complementary
#A3227F #3EA322 #22A386
monochromatic
#3E0D30 #701758 #A3227F #D42FA6 #DE61BB

Accessibility & contrast

On white

6.79
#A3227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3227F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3227F#FFFFFF#000000##FFFFFF
##A3227F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#AE244F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a3227f;
/* rgb */ color: rgb(163, 34, 127);
/* oklch */ color: oklch(49.6% 0.188 342.1);
Tailwind
colors: {
  custom: {
    50: '#c26ca4',
    500: '#a3227f',
    950: '#000000',
  },
}
SCSS
$custom: #a3227f;
$custom-light: #c26ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a3227f",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 316.744,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.18753,
    "h": 342.1
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#A3227F
secondary
#5EC37A
accent
#E86F3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A3227F

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

Preview Lab → · Contrast checker → · Palette generator →

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