#A22B7E#A22B7E

#A22B7E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.177 H 342.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A22B7E
RGBrgb(162, 43, 126)
HSLhsl(318, 58%, 40%)
HSVhsv(318, 73%, 64%)
CMYKcmyk(0%, 73.5%, 22.2%, 36.5%)
CIE-LABlab(39.44, 56.08, -19.62)
CIE-LCHlch(39.44, 59.41, 340.72°)
OKLaboklab(50.13% 0.1686 -0.0526)
OKLCHoklch(50.13% 0.177 342.7)
XYZxyz(19.5307, 10.9175, 20.8133)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B7E #2BA24F
analogous
#8A2BA2 #A22B7E #A22B43
triadic
#A22B7E #7EA22B #2B7EA2
tetradic
#A22B7E #A28A2B #2BA24F #2B43A2
square
#A22B7E #A28A2B #2BA24F #2B43A2
split-complementary
#A22B7E #43A22B #2BA28A
monochromatic
#411133 #721E58 #A22B7E #CC3EA1 #D96FB9

Accessibility & contrast

On white

6.60
#A22B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B7E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B7E#FFFFFF#000000##FFFFFF
##A22B7E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#AC2C51
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22b7e;
/* rgb */ color: rgb(162, 43, 126);
/* oklch */ color: oklch(50.1% 0.177 342.7);
Tailwind
colors: {
  custom: {
    50: '#c170a3',
    500: '#a22b7e',
    950: '#000000',
  },
}
SCSS
$custom: #a22b7e;
$custom-light: #c170a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b7e",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 318.151,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.17662,
    "h": 342.7
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#A22B7E
secondary
#69C083
accent
#E17547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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