#B22A9A#B22A9A

#B22A9A is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.0% C 0.206 H 336.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B22A9A
RGBrgb(178, 42, 154)
HSLhsl(311, 62%, 43%)
HSVhsv(311, 76%, 70%)
CMYKcmyk(0%, 76.4%, 13.5%, 30.2%)
CIE-LABlab(43.44, 64.23, -30.27)
CIE-LCHlch(43.44, 71.01, 334.77°)
OKLaboklab(53.98% 0.1888 -0.0825)
OKLCHoklch(53.98% 0.206 336.4)
XYZxyz(25.0212, 13.4563, 31.8451)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A9A #2AB242
analogous
#862AB2 #B22A9A #B22A56
triadic
#B22A9A #9AB22A #2A9AB2
tetradic
#B22A9A #B2862A #2AB242 #2A56B2
square
#B22A9A #B2862A #2AB242 #2A56B2
split-complementary
#B22A9A #56B22A #2AB286
monochromatic
#4F1344 #801E6F #B22A9A #D346BA #DF77CD

Accessibility & contrast

On white

5.69
#B22A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B22A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A9A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A9A#FFFFFF#000000##FFFFFF
##B22A9A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#BB3460
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22a9a;
/* rgb */ color: rgb(178, 42, 154);
/* oklch */ color: oklch(54.0% 0.206 336.4);
Tailwind
colors: {
  custom: {
    50: '#cd73b8',
    500: '#b22a9a',
    950: '#000000',
  },
}
SCSS
$custom: #b22a9a;
$custom-light: #cd73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a9a",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 310.588,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.20604,
    "h": 336.4
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#B22A9A
secondary
#71C780
accent
#E55F43
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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