#A22C7B#A22C7B

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

Color values

HEX#A22C7B
RGBrgb(162, 44, 123)
HSLhsl(320, 57%, 40%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 72.8%, 24.1%, 36.5%)
CIE-LABlab(39.44, 55.32, -17.77)
CIE-LCHlch(39.44, 58.11, 342.19°)
OKLaboklab(50.09% 0.167 -0.0474)
OKLCHoklch(50.09% 0.174 344.2)
XYZxyz(19.3769, 10.9148, 19.8214)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C7B #2CA253
analogous
#8E2CA2 #A22C7B #A22C40
triadic
#A22C7B #7BA22C #2C7BA2
tetradic
#A22C7B #A28E2C #2CA253 #2C40A2
square
#A22C7B #A28E2C #2CA253 #2C40A2
split-complementary
#A22C7B #40A22C #2CA28E
monochromatic
#421232 #721F56 #A22C7B #CB409D #D870B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22C7B#FFFFFF#000000##FFFFFF
##A22C7B1.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)
#39507D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#AD2B50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c7b;
/* rgb */ color: rgb(162, 44, 123);
/* oklch */ color: oklch(50.1% 0.174 344.2);
Tailwind
colors: {
  custom: {
    50: '#c170a1',
    500: '#a22c7b',
    950: '#000000',
  },
}
SCSS
$custom: #a22c7b;
$custom-light: #c170a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c7b",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 319.831,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50086,
    "c": 0.17356,
    "h": 344.2
  },
  "luminance": 0.10913
}

Semantic roles & 50–950 ramp

primary
#A22C7B
secondary
#6ABF86
accent
#E17A47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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