#A9228B#A9228B

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

Color values

HEX#A9228B
RGBrgb(169, 34, 139)
HSLhsl(313, 67%, 40%)
HSVhsv(313, 80%, 66%)
CMYKcmyk(0%, 79.9%, 17.8%, 33.7%)
CIE-LABlab(40.32, 62.34, -26.16)
CIE-LCHlch(40.32, 67.61, 337.23°)
OKLaboklab(51.2% 0.1856 -0.0709)
OKLCHoklch(51.2% 0.199 339.1)
XYZxyz(21.5950, 11.4453, 25.4930)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9228B #22A940
analogous
#8322A9 #A9228B #A92248
triadic
#A9228B #8BA922 #228BA9
tetradic
#A9228B #A98322 #22A940 #2248A9
square
#A9228B #A98322 #22A940 #2248A9
split-complementary
#A9228B #48A922 #22A983
monochromatic
#430D37 #761861 #A9228B #D632B2 #E065C5

Accessibility & contrast

On white

6.39
#A9228B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9228B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9228B#FFFFFF#000000##FFFFFF
##A9228B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#B32955
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9228b;
/* rgb */ color: rgb(169, 34, 139);
/* oklch */ color: oklch(51.2% 0.199 339.1);
Tailwind
colors: {
  custom: {
    50: '#c76ead',
    500: '#a9228b',
    950: '#000000',
  },
}
SCSS
$custom: #a9228b;
$custom-light: #c76ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a9228b",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 313.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51197,
    "c": 0.19868,
    "h": 339.1
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A9228B

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

Preview Lab → · Contrast checker → · Palette generator →

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