#A9228C#A9228C

#A9228C is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.199 H 338.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A9228C
RGBrgb(169, 34, 140)
HSLhsl(313, 67%, 40%)
HSVhsv(313, 80%, 66%)
CMYKcmyk(0%, 79.9%, 17.2%, 33.7%)
CIE-LABlab(40.37, 62.48, -26.70)
CIE-LCHlch(40.37, 67.94, 336.86°)
OKLaboklab(51.25% 0.1857 -0.0724)
OKLCHoklch(51.25% 0.199 338.7)
XYZxyz(21.6684, 11.4747, 25.8795)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9228C #22A93F
analogous
#8322A9 #A9228C #A92249
triadic
#A9228C #8CA922 #228CA9
tetradic
#A9228C #A98322 #22A93F #2249A9
square
#A9228C #A98322 #22A93F #2249A9
split-complementary
#A9228C #49A922 #22A983
monochromatic
#430D38 #761862 #A9228C #D632B3 #E065C6

Accessibility & contrast

On white

6.37
#A9228C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A9228C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9228C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9228C#FFFFFF#000000##FFFFFF
##A9228C1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#596789
Tritanopia (blue-blind)
#B32956
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9228c;
/* rgb */ color: rgb(169, 34, 140);
/* oklch */ color: oklch(51.2% 0.199 338.7);
Tailwind
colors: {
  custom: {
    50: '#c76eae',
    500: '#a9228c',
    950: '#000000',
  },
}
SCSS
$custom: #a9228c;
$custom-light: #c76eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a9228c",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 312.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.19934,
    "h": 338.7
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#A9228C
secondary
#61C577
accent
#E9633E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9228C

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

Preview Lab → · Contrast checker → · Palette generator →

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