#B22A99#B22A99

#B22A99 is a mid, highly saturated pink. Relative luminance 0.134; OKLCH L 53.9% C 0.205 H 336.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B22A99
RGBrgb(178, 42, 153)
HSLhsl(311, 62%, 43%)
HSVhsv(311, 76%, 70%)
CMYKcmyk(0%, 76.4%, 14%, 30.2%)
CIE-LABlab(43.39, 64.09, -29.74)
CIE-LCHlch(43.39, 70.65, 335.10°)
OKLaboklab(53.93% 0.1887 -0.081)
OKLCHoklch(53.93% 0.205 336.8)
XYZxyz(24.9383, 13.4232, 31.4083)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22A99 #2AB243
analogous
#872AB2 #B22A99 #B22A55
triadic
#B22A99 #99B22A #2A99B2
tetradic
#B22A99 #B2872A #2AB243 #2A55B2
square
#B22A99 #B2872A #2AB243 #2A55B2
split-complementary
#B22A99 #55B22A #2AB287
monochromatic
#4F1344 #801E6E #B22A99 #D346B9 #DF77CC

Accessibility & contrast

On white

5.70
#B22A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B22A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22A99
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22A99#FFFFFF#000000##FFFFFF
##B22A991.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#BC335F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b22a99;
/* rgb */ color: rgb(178, 42, 153);
/* oklch */ color: oklch(53.9% 0.205 336.8);
Tailwind
colors: {
  custom: {
    50: '#cd72b7',
    500: '#b22a99',
    950: '#000000',
  },
}
SCSS
$custom: #b22a99;
$custom-light: #cd72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22a99",
  "rgb": {
    "r": 178,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 311.029,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.20537,
    "h": 336.8
  },
  "luminance": 0.13421
}

Semantic roles & 50–950 ramp

primary
#B22A99
secondary
#71C781
accent
#E56143
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22A99

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

Preview Lab → · Contrast checker → · Palette generator →

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