#BB22A1#BB22A1

#BB22A1 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.2% C 0.223 H 336.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB22A1
RGBrgb(187, 34, 161)
HSLhsl(310, 69%, 43%)
HSVhsv(310, 82%, 73%)
CMYKcmyk(0%, 81.8%, 13.9%, 26.7%)
CIE-LABlab(44.64, 69.32, -32.48)
CIE-LCHlch(44.64, 76.56, 334.89°)
OKLaboklab(55.25% 0.2042 -0.0886)
OKLCHoklch(55.25% 0.223 336.5)
XYZxyz(27.4991, 14.2847, 35.0203)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB22A1 #22BB3C
analogous
#8822BB #BB22A1 #BB2254
triadic
#BB22A1 #A1BB22 #22A1BB
tetradic
#BB22A1 #BB8822 #22BB3C #2254BB
square
#BB22A1 #BB8822 #22BB3C #2254BB
split-complementary
#BB22A1 #54BB22 #22BB88
monochromatic
#530F48 #871974 #BB22A1 #DC3EC1 #E572D2

Accessibility & contrast

On white

5.45
#BB22A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#BB22A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB22A1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB22A1#FFFFFF#000000##FFFFFF
##BB22A11.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#5F729E
Tritanopia (blue-blind)
#C52F62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb22a1;
/* rgb */ color: rgb(187, 34, 161);
/* oklch */ color: oklch(55.2% 0.223 336.5);
Tailwind
colors: {
  custom: {
    50: '#d471bd',
    500: '#bb22a1',
    950: '#000000',
  },
}
SCSS
$custom: #bb22a1;
$custom-light: #d471bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb22a1",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 310.196,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.2226,
    "h": 336.5
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#BB22A1
secondary
#6DCC7D
accent
#EC5A3C
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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