#A9227F#A9227F

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

Color values

HEX#A9227F
RGBrgb(169, 34, 127)
HSLhsl(319, 67%, 40%)
HSVhsv(319, 80%, 66%)
CMYKcmyk(0%, 79.9%, 24.9%, 33.7%)
CIE-LABlab(39.77, 60.75, -19.63)
CIE-LCHlch(39.77, 63.84, 342.10°)
OKLaboklab(50.62% 0.1839 -0.0524)
OKLCHoklch(50.62% 0.191 344.1)
XYZxyz(20.7659, 11.1137, 21.1261)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9227F #22A94C
analogous
#9022A9 #A9227F #A9223B
triadic
#A9227F #7FA922 #227FA9
tetradic
#A9227F #A99022 #22A94C #223BA9
square
#A9227F #A99022 #22A94C #223BA9
split-complementary
#A9227F #3BA922 #22A990
monochromatic
#430D32 #761859 #A9227F #D632A3 #E065BA

Accessibility & contrast

On white

6.52
#A9227F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9227F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9227F#FFFFFF#000000##FFFFFF
##A9227F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#B4214F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a9227f;
/* rgb */ color: rgb(169, 34, 127);
/* oklch */ color: oklch(50.6% 0.191 344.1);
Tailwind
colors: {
  custom: {
    50: '#c76da4',
    500: '#a9227f',
    950: '#000000',
  },
}
SCSS
$custom: #a9227f;
$custom-light: #c76da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a9227f",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 318.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50621,
    "c": 0.19124,
    "h": 344.1
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#A9227F
secondary
#61C580
accent
#E9743E
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A9227F

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

Preview Lab → · Contrast checker → · Palette generator →

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