#A9227B#A9227B

#A9227B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 345.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A9227B
RGBrgb(169, 34, 123)
HSLhsl(320, 67%, 40%)
HSVhsv(320, 80%, 66%)
CMYKcmyk(0%, 79.9%, 27.2%, 33.7%)
CIE-LABlab(39.60, 60.25, -17.41)
CIE-LCHlch(39.60, 62.71, 343.88°)
OKLaboklab(50.44% 0.1832 -0.0462)
OKLCHoklch(50.44% 0.189 345.8)
XYZxyz(20.5103, 11.0115, 19.7804)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9227B #22A950
analogous
#9322A9 #A9227B #A92238
triadic
#A9227B #7BA922 #227BA9
tetradic
#A9227B #A99322 #22A950 #2238A9
square
#A9227B #A99322 #22A950 #2238A9
split-complementary
#A9227B #38A922 #22A993
monochromatic
#430D31 #761856 #A9227B #D6329E #E065B6

Accessibility & contrast

On white

6.56
#A9227B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A9227B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9227B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9227B#FFFFFF#000000##FFFFFF
##A9227B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#B51E4C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a9227b;
/* rgb */ color: rgb(169, 34, 123);
/* oklch */ color: oklch(50.4% 0.189 345.8);
Tailwind
colors: {
  custom: {
    50: '#c76da1',
    500: '#a9227b',
    950: '#000000',
  },
}
SCSS
$custom: #a9227b;
$custom-light: #c76da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a9227b",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 320.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50441,
    "c": 0.18892,
    "h": 345.8
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#A9227B
secondary
#61C583
accent
#E9793E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #A9227B

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

Preview Lab → · Contrast checker → · Palette generator →

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