#A22F80#A22F80

#A22F80 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.173 H 342.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A22F80
RGBrgb(162, 47, 128)
HSLhsl(318, 55%, 41%)
HSVhsv(318, 71%, 64%)
CMYKcmyk(0%, 71%, 21%, 36.5%)
CIE-LABlab(40.04, 54.92, -19.93)
CIE-LCHlch(40.04, 58.42, 340.05°)
OKLaboklab(50.6% 0.1646 -0.0535)
OKLCHoklch(50.6% 0.173 342)
XYZxyz(19.8137, 11.2749, 21.5507)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F80 #2FA251
analogous
#8A2FA2 #A22F80 #A22F46
triadic
#A22F80 #80A22F #2F80A2
tetradic
#A22F80 #A28A2F #2FA251 #2F46A2
square
#A22F80 #A28A2F #2FA251 #2F46A2
split-complementary
#A22F80 #46A22F #2FA28A
monochromatic
#431335 #73215B #A22F80 #C945A2 #D775BA

Accessibility & contrast

On white

6.45
#A22F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A22F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F80
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F80#FFFFFF#000000##FFFFFF
##A22F801.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395282
Deuteranopia (green-blind)
#5C657D
Tritanopia (blue-blind)
#AC3053
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22f80;
/* rgb */ color: rgb(162, 47, 128);
/* oklch */ color: oklch(50.6% 0.173 342.0);
Tailwind
colors: {
  custom: {
    50: '#c172a5',
    500: '#a22f80',
    950: '#000000',
  },
}
SCSS
$custom: #a22f80;
$custom-light: #c172a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f80",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 317.739,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50596,
    "c": 0.17307,
    "h": 342
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#A22F80
secondary
#6EBF86
accent
#DE7549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22F80

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

Preview Lab → · Contrast checker → · Palette generator →

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