#B22B9B#B22B9B

#B22B9B is a mid, highly saturated pink. Relative luminance 0.136; OKLCH L 54.1% C 0.206 H 336.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B22B9B
RGBrgb(178, 43, 155)
HSLhsl(310, 61%, 43%)
HSVhsv(310, 76%, 70%)
CMYKcmyk(0%, 75.8%, 12.9%, 30.2%)
CIE-LABlab(43.60, 64.07, -30.63)
CIE-LCHlch(43.60, 71.02, 334.45°)
OKLaboklab(54.11% 0.188 -0.0836)
OKLCHoklch(54.11% 0.206 336)
XYZxyz(25.1408, 13.5616, 32.2976)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22B9B #2BB242
analogous
#852BB2 #B22B9B #B22B57
triadic
#B22B9B #9BB22B #2B9BB2
tetradic
#B22B9B #B2852B #2BB242 #2B57B2
square
#B22B9B #B2852B #2BB242 #2B57B2
split-complementary
#B22B9B #57B22B #2BB285
monochromatic
#4F1345 #811F70 #B22B9B #D348BB #DF79CD

Accessibility & contrast

On white

5.66
#B22B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B22B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22B9B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22B9B#FFFFFF#000000##FFFFFF
##B22B9B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b22b9b;
/* rgb */ color: rgb(178, 43, 155);
/* oklch */ color: oklch(54.1% 0.206 336.0);
Tailwind
colors: {
  custom: {
    50: '#cd73b9',
    500: '#b22b9b',
    950: '#000000',
  },
}
SCSS
$custom: #b22b9b;
$custom-light: #cd73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22b9b",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 310.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.20572,
    "h": 336
  },
  "luminance": 0.13559
}

Semantic roles & 50–950 ramp

primary
#B22B9B
secondary
#72C781
accent
#E45F44
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B22B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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