#A9227E#A9227E

#A9227E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.191 H 344.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A9227E
RGBrgb(169, 34, 126)
HSLhsl(319, 67%, 40%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 79.9%, 25.4%, 33.7%)
CIE-LABlab(39.73, 60.62, -19.07)
CIE-LCHlch(39.73, 63.55, 342.53°)
OKLaboklab(50.58% 0.1837 -0.0509)
OKLCHoklch(50.58% 0.191 344.5)
XYZxyz(20.7010, 11.0877, 20.7846)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9227E #22A94D
analogous
#9022A9 #A9227E #A9223B
triadic
#A9227E #7EA922 #227EA9
tetradic
#A9227E #A99022 #22A94D #223BA9
square
#A9227E #A99022 #22A94D #223BA9
split-complementary
#A9227E #3BA922 #22A990
monochromatic
#430D32 #761858 #A9227E #D632A2 #E065B9

Accessibility & contrast

On white

6.53
#A9227E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A9227E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9227E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9227E#FFFFFF#000000##FFFFFF
##A9227E1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#B5204E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a9227e;
/* rgb */ color: rgb(169, 34, 126);
/* oklch */ color: oklch(50.6% 0.191 344.5);
Tailwind
colors: {
  custom: {
    50: '#c76da3',
    500: '#a9227e',
    950: '#000000',
  },
}
SCSS
$custom: #a9227e;
$custom-light: #c76da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a9227e",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 319.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.19065,
    "h": 344.5
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#A9227E
secondary
#61C581
accent
#E9753E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A9227E

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

Preview Lab → · Contrast checker → · Palette generator →

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