#A9228A#A9228A

#A9228A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 339.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A9228A
RGBrgb(169, 34, 138)
HSLhsl(314, 67%, 40%)
HSVhsv(314, 80%, 66%)
CMYKcmyk(0%, 79.9%, 18.3%, 33.7%)
CIE-LABlab(40.27, 62.20, -25.63)
CIE-LCHlch(40.27, 67.27, 337.61°)
OKLaboklab(51.15% 0.1855 -0.0694)
OKLCHoklch(51.15% 0.198 339.5)
XYZxyz(21.5223, 11.4162, 25.1099)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9228A #22A941
analogous
#8522A9 #A9228A #A92246
triadic
#A9228A #8AA922 #228AA9
tetradic
#A9228A #A98522 #22A941 #2246A9
square
#A9228A #A98522 #22A941 #2246A9
split-complementary
#A9228A #46A922 #22A985
monochromatic
#430D37 #761860 #A9228A #D632B0 #E065C4

Accessibility & contrast

On white

6.40
#A9228A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A9228A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9228A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9228A#FFFFFF#000000##FFFFFF
##A9228A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#5A6687
Tritanopia (blue-blind)
#B32855
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9228a;
/* rgb */ color: rgb(169, 34, 138);
/* oklch */ color: oklch(51.1% 0.198 339.5);
Tailwind
colors: {
  custom: {
    50: '#c76eac',
    500: '#a9228a',
    950: '#000000',
  },
}
SCSS
$custom: #a9228a;
$custom-light: #c76eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a9228a",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 313.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.19804,
    "h": 339.5
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#A9228A
secondary
#61C578
accent
#E9663E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9228A

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

Preview Lab → · Contrast checker → · Palette generator →

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