#A22B7B#A22B7B

#A22B7B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.175 H 344.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A22B7B
RGBrgb(162, 43, 123)
HSLhsl(320, 58%, 40%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 73.5%, 24.1%, 36.5%)
CIE-LABlab(39.31, 55.68, -17.96)
CIE-LCHlch(39.31, 58.50, 342.12°)
OKLaboklab(50% 0.1681 -0.0479)
OKLCHoklch(50% 0.175 344.1)
XYZxyz(19.3401, 10.8412, 19.8091)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B7B #2BA252
analogous
#8E2BA2 #A22B7B #A22B3F
triadic
#A22B7B #7BA22B #2B7BA2
tetradic
#A22B7B #A28E2B #2BA252 #2B3FA2
square
#A22B7B #A28E2B #2BA252 #2B3FA2
split-complementary
#A22B7B #3FA22B #2BA28E
monochromatic
#411132 #721E56 #A22B7B #CC3E9D #D96FB6

Accessibility & contrast

On white

6.63
#A22B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A22B7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B7B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B7B#FFFFFF#000000##FFFFFF
##A22B7B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#AD2A4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22b7b;
/* rgb */ color: rgb(162, 43, 123);
/* oklch */ color: oklch(50.0% 0.175 344.1);
Tailwind
colors: {
  custom: {
    50: '#c170a1',
    500: '#a22b7b',
    950: '#000000',
  },
}
SCSS
$custom: #a22b7b;
$custom-light: #c170a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b7b",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 319.664,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.17475,
    "h": 344.1
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#A22B7B
secondary
#69C085
accent
#E17947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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