#A9229F#A9229F

#A9229F is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.212 H 331.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A9229F
RGBrgb(169, 34, 159)
HSLhsl(304, 67%, 40%)
HSVhsv(304, 80%, 66%)
CMYKcmyk(0%, 79.9%, 5.9%, 33.7%)
CIE-LABlab(41.35, 65.25, -36.68)
CIE-LCHlch(41.35, 74.85, 330.66°)
OKLaboklab(52.27% 0.1867 -0.1011)
OKLCHoklch(52.27% 0.212 331.6)
XYZxyz(23.1923, 12.0842, 33.9052)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9229F #22A92C
analogous
#6F22A9 #A9229F #A9225C
triadic
#A9229F #9FA922 #229FA9
tetradic
#A9229F #A96F22 #22A92C #225CA9
square
#A9229F #A96F22 #22A92C #225CA9
split-complementary
#A9229F #5CA922 #22A96F
monochromatic
#430D3F #76186F #A9229F #D632CA #E065D7

Accessibility & contrast

On white

6.15
#A9229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A9229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9229F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9229F#FFFFFF#000000##FFFFFF
##A9229F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#B03461
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a9229f;
/* rgb */ color: rgb(169, 34, 159);
/* oklch */ color: oklch(52.3% 0.212 331.6);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#a9229f',
    950: '#000000',
  },
}
SCSS
$custom: #a9229f;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a9229f",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 304.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.21236,
    "h": 331.6
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#A9229F
secondary
#61C569
accent
#E94B3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A9229F

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

Preview Lab → · Contrast checker → · Palette generator →

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