#A22F89#A22F89

#A22F89 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 337.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A22F89
RGBrgb(162, 47, 137)
HSLhsl(313, 55%, 41%)
HSVhsv(313, 71%, 64%)
CMYKcmyk(0%, 71%, 15.4%, 36.5%)
CIE-LABlab(40.45, 56.22, -24.84)
CIE-LCHlch(40.45, 61.46, 336.17°)
OKLaboklab(51.03% 0.1661 -0.0673)
OKLCHoklch(51.03% 0.179 337.9)
XYZxyz(20.4326, 11.5224, 24.8100)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F89 #2FA248
analogous
#812FA2 #A22F89 #A22F50
triadic
#A22F89 #89A22F #2F89A2
tetradic
#A22F89 #A2812F #2FA248 #2F50A2
square
#A22F89 #A2812F #2FA248 #2F50A2
split-complementary
#A22F89 #50A22F #2FA281
monochromatic
#431339 #732161 #A22F89 #C945AC #D775C1

Accessibility & contrast

On white

6.36
#A22F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A22F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F89
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F89#FFFFFF#000000##FFFFFF
##A22F891.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#596686
Tritanopia (blue-blind)
#AB3558
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22f89;
/* rgb */ color: rgb(162, 47, 137);
/* oklch */ color: oklch(51.0% 0.179 337.9);
Tailwind
colors: {
  custom: {
    50: '#c172ab',
    500: '#a22f89',
    950: '#000000',
  },
}
SCSS
$custom: #a22f89;
$custom-light: #c172ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f89",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 313.043,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51025,
    "c": 0.17919,
    "h": 337.9
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#A22F89
secondary
#6EBF80
accent
#DE6A49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22F89

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

Preview Lab → · Contrast checker → · Palette generator →

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