#BB2BA1#BB2BA1

#BB2BA1 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.8% C 0.215 H 336.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BB2BA1
RGBrgb(187, 43, 161)
HSLhsl(311, 63%, 45%)
HSVhsv(311, 77%, 73%)
CMYKcmyk(0%, 77%, 13.9%, 26.7%)
CIE-LABlab(45.45, 66.98, -31.20)
CIE-LCHlch(45.45, 73.89, 335.02°)
OKLaboklab(55.83% 0.1972 -0.085)
OKLCHoklch(55.83% 0.215 336.7)
XYZxyz(27.7909, 14.8684, 35.1176)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2BA1 #2BBB45
analogous
#8D2BBB #BB2BA1 #BB2B59
triadic
#BB2BA1 #A1BB2B #2BA1BB
tetradic
#BB2BA1 #BB8D2B #2BBB45 #2B59BB
square
#BB2BA1 #BB8D2B #2BBB45 #2B59BB
split-complementary
#BB2BA1 #59BB2B #2BBB8D
monochromatic
#57144B #892076 #BB2BA1 #D64DBD #E27FD0

Accessibility & contrast

On white

5.29
#BB2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BB2BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2BA1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2BA1#FFFFFF#000000##FFFFFF
##BB2BA11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA4
Deuteranopia (green-blind)
#62739E
Tritanopia (blue-blind)
#C53564
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2ba1;
/* rgb */ color: rgb(187, 43, 161);
/* oklch */ color: oklch(55.8% 0.215 336.7);
Tailwind
colors: {
  custom: {
    50: '#d474bd',
    500: '#bb2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ba1;
$custom-light: #d474bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ba1",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 310.833,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55829,
    "c": 0.21473,
    "h": 336.7
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#BB2BA1
secondary
#78CA87
accent
#E66042
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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