#A22F82#A22F82

#A22F82 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.174 H 341.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A22F82
RGBrgb(162, 47, 130)
HSLhsl(317, 55%, 41%)
HSVhsv(317, 71%, 64%)
CMYKcmyk(0%, 71%, 19.8%, 36.5%)
CIE-LABlab(40.13, 55.20, -21.03)
CIE-LCHlch(40.13, 59.07, 339.14°)
OKLaboklab(50.69% 0.165 -0.0566)
OKLCHoklch(50.69% 0.174 341.1)
XYZxyz(19.9466, 11.3281, 22.2508)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F82 #2FA24F
analogous
#882FA2 #A22F82 #A22F48
triadic
#A22F82 #82A22F #2F82A2
tetradic
#A22F82 #A2882F #2FA24F #2F48A2
square
#A22F82 #A2882F #2FA24F #2F48A2
split-complementary
#A22F82 #48A22F #2FA288
monochromatic
#431336 #73215C #A22F82 #C945A4 #D775BB

Accessibility & contrast

On white

6.43
#A22F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22F82
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F82#FFFFFF#000000##FFFFFF
##A22F821.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#5C657F
Tritanopia (blue-blind)
#AC3154
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22f82;
/* rgb */ color: rgb(162, 47, 130);
/* oklch */ color: oklch(50.7% 0.174 341.1);
Tailwind
colors: {
  custom: {
    50: '#c172a6',
    500: '#a22f82',
    950: '#000000',
  },
}
SCSS
$custom: #a22f82;
$custom-light: #c172a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f82",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 316.696,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.17438,
    "h": 341.1
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#A22F82
secondary
#6EBF85
accent
#DE7349
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22F82

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

Preview Lab → · Contrast checker → · Palette generator →

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