#A9228E#A9228E

#A9228E is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.3% C 0.201 H 337.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A9228E
RGBrgb(169, 34, 142)
HSLhsl(312, 67%, 40%)
HSVhsv(312, 80%, 66%)
CMYKcmyk(0%, 79.9%, 16%, 33.7%)
CIE-LABlab(40.47, 62.75, -27.77)
CIE-LCHlch(40.47, 68.62, 336.13°)
OKLaboklab(51.35% 0.1859 -0.0755)
OKLCHoklch(51.35% 0.201 337.9)
XYZxyz(21.8172, 11.5342, 26.6633)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9228E #22A93D
analogous
#8122A9 #A9228E #A9224B
triadic
#A9228E #8EA922 #228EA9
tetradic
#A9228E #A98122 #22A93D #224BA9
square
#A9228E #A98122 #22A93D #224BA9
split-complementary
#A9228E #4BA922 #22A981
monochromatic
#430D38 #761863 #A9228E #D632B5 #E065C8

Accessibility & contrast

On white

6.35
#A9228E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A9228E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9228E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9228E#FFFFFF#000000##FFFFFF
##A9228E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#B32B57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9228e;
/* rgb */ color: rgb(169, 34, 142);
/* oklch */ color: oklch(51.3% 0.201 337.9);
Tailwind
colors: {
  custom: {
    50: '#c76eaf',
    500: '#a9228e',
    950: '#000000',
  },
}
SCSS
$custom: #a9228e;
$custom-light: #c76eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a9228e",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 312,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.20064,
    "h": 337.9
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#A9228E
secondary
#61C575
accent
#E9613E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9228E

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

Preview Lab → · Contrast checker → · Palette generator →

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