#B22A97#B22A97

#B22A97 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.8% C 0.204 H 337.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B22A97
RGBrgb(178, 42, 151)
HSLhsl(312, 62%, 43%)
HSVhsv(312, 76%, 70%)
CMYKcmyk(0%, 76.4%, 15.2%, 30.2%)
CIE-LABlab(43.30, 63.80, -28.69)
CIE-LCHlch(43.30, 69.96, 335.79°)
OKLaboklab(53.83% 0.1885 -0.078)
OKLCHoklch(53.83% 0.204 337.5)
XYZxyz(24.7745, 13.3576, 30.5457)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A97 #2AB245
analogous
#892AB2 #B22A97 #B22A53
triadic
#B22A97 #97B22A #2A97B2
tetradic
#B22A97 #B2892A #2AB245 #2A53B2
square
#B22A97 #B2892A #2AB245 #2A53B2
split-complementary
#B22A97 #53B22A #2AB289
monochromatic
#4F1343 #801E6D #B22A97 #D346B7 #DF77CA

Accessibility & contrast

On white

5.72
#B22A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B22A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A97
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A97#FFFFFF#000000##FFFFFF
##B22A971.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#5E6E94
Tritanopia (blue-blind)
#BC325E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22a97;
/* rgb */ color: rgb(178, 42, 151);
/* oklch */ color: oklch(53.8% 0.204 337.5);
Tailwind
colors: {
  custom: {
    50: '#cd72b6',
    500: '#b22a97',
    950: '#000000',
  },
}
SCSS
$custom: #b22a97;
$custom-light: #cd72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a97",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 311.912,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.20401,
    "h": 337.5
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#B22A97
secondary
#71C782
accent
#E56343
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22A97

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

Preview Lab → · Contrast checker → · Palette generator →

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