#B22B99#B22B99

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

Color values

HEX#B22B99
RGBrgb(178, 43, 153)
HSLhsl(311, 61%, 43%)
HSVhsv(311, 76%, 70%)
CMYKcmyk(0%, 75.8%, 14%, 30.2%)
CIE-LABlab(43.50, 63.78, -29.58)
CIE-LCHlch(43.50, 70.31, 335.12°)
OKLaboklab(54% 0.1878 -0.0805)
OKLCHoklch(54% 0.204 336.8)
XYZxyz(24.9742, 13.4950, 31.4203)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B99 #2BB244
analogous
#872BB2 #B22B99 #B22B55
triadic
#B22B99 #99B22B #2B99B2
tetradic
#B22B99 #B2872B #2BB244 #2B55B2
square
#B22B99 #B2872B #2BB244 #2B55B2
split-complementary
#B22B99 #55B22B #2BB287
monochromatic
#4F1344 #811F6F #B22B99 #D348B9 #DF79CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B22B99#FFFFFF#000000##FFFFFF
##B22B991.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)
#2F5A9C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#BC345F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b22b99;
/* rgb */ color: rgb(178, 43, 153);
/* oklch */ color: oklch(54.0% 0.204 336.8);
Tailwind
colors: {
  custom: {
    50: '#cd73b7',
    500: '#b22b99',
    950: '#000000',
  },
}
SCSS
$custom: #b22b99;
$custom-light: #cd73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b99",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 311.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.20435,
    "h": 336.8
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#B22B99
secondary
#72C782
accent
#E46144
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22B99

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

Preview Lab → · Contrast checker → · Palette generator →

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