#A22F7B#A22F7B

#A22F7B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.170 H 344.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22F7B
RGBrgb(162, 47, 123)
HSLhsl(320, 55%, 41%)
HSVhsv(320, 71%, 64%)
CMYKcmyk(0%, 71%, 24.1%, 36.5%)
CIE-LABlab(39.83, 54.23, -17.17)
CIE-LCHlch(39.83, 56.88, 342.43°)
OKLaboklab(50.37% 0.1636 -0.0457)
OKLCHoklch(50.37% 0.17 344.4)
XYZxyz(19.4927, 11.1465, 19.8600)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22F7B #2FA256
analogous
#8F2FA2 #A22F7B #A22F41
triadic
#A22F7B #7BA22F #2F7BA2
tetradic
#A22F7B #A28F2F #2FA256 #2F41A2
square
#A22F7B #A28F2F #2FA256 #2F41A2
split-complementary
#A22F7B #41A22F #2FA28F
monochromatic
#431333 #732157 #A22F7B #C9459C #D775B6

Accessibility & contrast

On white

6.50
#A22F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22F7B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22F7B#FFFFFF#000000##FFFFFF
##A22F7B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#AD2E51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22f7b;
/* rgb */ color: rgb(162, 47, 123);
/* oklch */ color: oklch(50.4% 0.170 344.4);
Tailwind
colors: {
  custom: {
    50: '#c171a1',
    500: '#a22f7b',
    950: '#000000',
  },
}
SCSS
$custom: #a22f7b;
$custom-light: #c171a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22f7b",
  "rgb": {
    "r": 162,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 320.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5037,
    "c": 0.16988,
    "h": 344.4
  },
  "luminance": 0.11144
}

Semantic roles & 50–950 ramp

primary
#A22F7B
secondary
#6EBF89
accent
#DE7C49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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