#A22C8B#A22C8B

#A22C8B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.184 H 337.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A22C8B
RGBrgb(162, 44, 139)
HSLhsl(312, 57%, 40%)
HSVhsv(312, 73%, 64%)
CMYKcmyk(0%, 72.8%, 14.2%, 36.5%)
CIE-LABlab(40.16, 57.59, -26.50)
CIE-LCHlch(40.16, 63.40, 335.29°)
OKLaboklab(50.85% 0.1695 -0.0721)
OKLCHoklch(50.85% 0.184 337)
XYZxyz(20.4615, 11.3487, 25.5340)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C8B #2CA243
analogous
#7E2CA2 #A22C8B #A22C50
triadic
#A22C8B #8BA22C #2C8BA2
tetradic
#A22C8B #A27E2C #2CA243 #2C50A2
square
#A22C8B #A27E2C #2CA243 #2C50A2
split-complementary
#A22C8B #50A22C #2CA27E
monochromatic
#421238 #721F62 #A22C8B #CB40B0 #D870C4

Accessibility & contrast

On white

6.42
#A22C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C8B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C8B#FFFFFF#000000##FFFFFF
##A22C8B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AB3358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22c8b;
/* rgb */ color: rgb(162, 44, 139);
/* oklch */ color: oklch(50.8% 0.184 337.0);
Tailwind
colors: {
  custom: {
    50: '#c171ad',
    500: '#a22c8b',
    950: '#000000',
  },
}
SCSS
$custom: #a22c8b;
$custom-light: #c171ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c8b",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 311.695,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50849,
    "c": 0.18419,
    "h": 337
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#A22C8B
secondary
#6ABF7B
accent
#E16547
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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