#A22B8A#A22B8A

#A22B8A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.185 H 337.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A22B8A
RGBrgb(162, 43, 138)
HSLhsl(312, 58%, 40%)
HSVhsv(312, 73%, 64%)
CMYKcmyk(0%, 73.5%, 14.8%, 36.5%)
CIE-LABlab(39.99, 57.79, -26.16)
CIE-LCHlch(39.99, 63.43, 335.65°)
OKLaboklab(50.71% 0.1704 -0.0711)
OKLCHoklch(50.71% 0.185 337.4)
XYZxyz(20.3520, 11.2460, 25.1387)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B8A #2BA243
analogous
#7F2BA2 #A22B8A #A22B4E
triadic
#A22B8A #8AA22B #2B8AA2
tetradic
#A22B8A #A27F2B #2BA243 #2B4EA2
square
#A22B8A #A27F2B #2BA243 #2B4EA2
split-complementary
#A22B8A #4EA22B #2BA27F
monochromatic
#411138 #721E61 #A22B8A #CC3EAF #D96FC3

Accessibility & contrast

On white

6.46
#A22B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A22B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B8A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B8A#FFFFFF#000000##FFFFFF
##A22B8A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AB3257
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22b8a;
/* rgb */ color: rgb(162, 43, 138);
/* oklch */ color: oklch(50.7% 0.185 337.4);
Tailwind
colors: {
  custom: {
    50: '#c170ac',
    500: '#a22b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a22b8a;
$custom-light: #c170ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b8a",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 312.101,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.18465,
    "h": 337.4
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#A22B8A
secondary
#69C07B
accent
#E16647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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