#A3228C#A3228C

#A3228C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.3% C 0.196 H 336.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A3228C
RGBrgb(163, 34, 140)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 79.1%, 14.1%, 36.1%)
CIE-LABlab(39.29, 61.11, -28.47)
CIE-LCHlch(39.29, 67.42, 335.02°)
OKLaboklab(50.27% 0.18 -0.0776)
OKLCHoklch(50.27% 0.196 336.7)
XYZxyz(20.4103, 10.8260, 25.8206)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3228C #22A339
analogous
#7922A3 #A3228C #A3224B
triadic
#A3228C #8CA322 #228CA3
tetradic
#A3228C #A37922 #22A339 #224BA3
square
#A3228C #A37922 #22A339 #224BA3
split-complementary
#A3228C #4BA322 #22A379
monochromatic
#3E0D35 #701761 #A3228C #D42FB6 #DE61C8

Accessibility & contrast

On white

6.64
#A3228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A3228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3228C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3228C#FFFFFF#000000##FFFFFF
##A3228C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#546389
Tritanopia (blue-blind)
#AC2C56
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3228c;
/* rgb */ color: rgb(163, 34, 140);
/* oklch */ color: oklch(50.3% 0.196 336.7);
Tailwind
colors: {
  custom: {
    50: '#c26dae',
    500: '#a3228c',
    950: '#000000',
  },
}
SCSS
$custom: #a3228c;
$custom-light: #c26dae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3228c",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 310.698,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.19601,
    "h": 336.7
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#A3228C
secondary
#5EC370
accent
#E85E3F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3228C

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

Preview Lab → · Contrast checker → · Palette generator →

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