#B22A9B#B22A9B

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

Color values

HEX#B22A9B
RGBrgb(178, 42, 155)
HSLhsl(310, 62%, 43%)
HSVhsv(310, 76%, 70%)
CMYKcmyk(0%, 76.4%, 12.9%, 30.2%)
CIE-LABlab(43.49, 64.37, -30.79)
CIE-LCHlch(43.49, 71.36, 334.44°)
OKLaboklab(54.03% 0.1889 -0.084)
OKLCHoklch(54.03% 0.207 336)
XYZxyz(25.1049, 13.4898, 32.2856)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A9B #2AB241
analogous
#852AB2 #B22A9B #B22A57
triadic
#B22A9B #9BB22A #2A9BB2
tetradic
#B22A9B #B2852A #2AB241 #2A57B2
square
#B22A9B #B2852A #2AB241 #2A57B2
split-complementary
#B22A9B #57B22A #2AB285
monochromatic
#4F1345 #801E70 #B22A9B #D346BB #DF77CD

Accessibility & contrast

On white

5.68
#B22A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B22A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A9B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A9B#FFFFFF#000000##FFFFFF
##B22A9B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5A9E
Deuteranopia (green-blind)
#5D6E98
Tritanopia (blue-blind)
#BB3560
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22a9b;
/* rgb */ color: rgb(178, 42, 155);
/* oklch */ color: oklch(54.0% 0.207 336.0);
Tailwind
colors: {
  custom: {
    50: '#cd73b9',
    500: '#b22a9b',
    950: '#000000',
  },
}
SCSS
$custom: #b22a9b;
$custom-light: #cd73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a9b",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 310.147,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.20672,
    "h": 336
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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