#BB2A9B#BB2A9B

#BB2A9B is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.5% C 0.212 H 338.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB2A9B
RGBrgb(187, 42, 155)
HSLhsl(313, 63%, 45%)
HSVhsv(313, 78%, 73%)
CMYKcmyk(0%, 77.5%, 17.1%, 26.7%)
CIE-LABlab(45.07, 66.43, -28.22)
CIE-LCHlch(45.07, 72.17, 336.99°)
OKLaboklab(55.46% 0.1974 -0.0765)
OKLCHoklch(55.46% 0.212 338.8)
XYZxyz(27.2386, 14.5900, 32.3856)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2A9B #2ABB4A
analogous
#922ABB #BB2A9B #BB2A53
triadic
#BB2A9B #9BBB2A #2A9BBB
tetradic
#BB2A9B #BB922A #2ABB4A #2A53BB
square
#BB2A9B #BB922A #2ABB4A #2A53BB
split-complementary
#BB2A9B #53BB2A #2ABB92
monochromatic
#571448 #891F72 #BB2A9B #D74CB8 #E27DCC

Accessibility & contrast

On white

5.36
#BB2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB2A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2A9B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2A9B#FFFFFF#000000##FFFFFF
##BB2A9B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#647398
Tritanopia (blue-blind)
#C63160
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb2a9b;
/* rgb */ color: rgb(187, 42, 155);
/* oklch */ color: oklch(55.5% 0.212 338.8);
Tailwind
colors: {
  custom: {
    50: '#d474b9',
    500: '#bb2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #bb2a9b;
$custom-light: #d474b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2a9b",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 313.241,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.21175,
    "h": 338.8
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#BB2A9B
secondary
#76CA89
accent
#E66641
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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