#A22A7B#A22A7B

#A22A7B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.176 H 344.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A22A7B
RGBrgb(162, 42, 123)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 74%, 64%)
CMYKcmyk(0%, 74.1%, 24.1%, 36.5%)
CIE-LABlab(39.19, 56.02, -18.15)
CIE-LCHlch(39.19, 58.89, 342.05°)
OKLaboklab(49.91% 0.1691 -0.0484)
OKLCHoklch(49.91% 0.176 344)
XYZxyz(19.3042, 10.7694, 19.7971)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A7B #2AA251
analogous
#8D2AA2 #A22A7B #A22A3F
triadic
#A22A7B #7BA22A #2A7BA2
tetradic
#A22A7B #A28D2A #2AA251 #2A3FA2
square
#A22A7B #A28D2A #2AA251 #2A3FA2
split-complementary
#A22A7B #3FA22A #2AA28D
monochromatic
#411131 #711D56 #A22A7B #CD3D9E #D96DB6

Accessibility & contrast

On white

6.66
#A22A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A7B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A7B#FFFFFF#000000##FFFFFF
##A22A7B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507D
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#AD294F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22a7b;
/* rgb */ color: rgb(162, 42, 123);
/* oklch */ color: oklch(49.9% 0.176 344.0);
Tailwind
colors: {
  custom: {
    50: '#c16fa1',
    500: '#a22a7b',
    950: '#000000',
  },
}
SCSS
$custom: #a22a7b;
$custom-light: #c16fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a7b",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 319.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.17592,
    "h": 344
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#A22A7B
secondary
#68C084
accent
#E27946
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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