#A22A79#A22A79

#A22A79 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.175 H 345.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A22A79
RGBrgb(162, 42, 121)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 74.1%, 25.3%, 36.5%)
CIE-LABlab(39.10, 55.76, -17.04)
CIE-LCHlch(39.10, 58.30, 343.01°)
OKLaboklab(49.82% 0.1687 -0.0453)
OKLCHoklch(49.82% 0.175 345)
XYZxyz(19.1802, 10.7198, 19.1445)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A79 #2AA253
analogous
#8F2AA2 #A22A79 #A22A3D
triadic
#A22A79 #79A22A #2A79A2
tetradic
#A22A79 #A28F2A #2AA253 #2A3DA2
square
#A22A79 #A28F2A #2AA253 #2A3DA2
split-complementary
#A22A79 #3DA22A #2AA28F
monochromatic
#411130 #711D55 #A22A79 #CD3D9B #D96DB4

Accessibility & contrast

On white

6.68
#A22A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A79
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A79#FFFFFF#000000##FFFFFF
##A22A791.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5D6376
Tritanopia (blue-blind)
#AD284E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22a79;
/* rgb */ color: rgb(162, 42, 121);
/* oklch */ color: oklch(49.8% 0.175 345.0);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a22a79',
    950: '#000000',
  },
}
SCSS
$custom: #a22a79;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a79",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 320.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.1747,
    "h": 345
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#A22A79
secondary
#68C086
accent
#E27B46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22A79

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

Preview Lab → · Contrast checker → · Palette generator →

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