#BB2A9A#BB2A9A

#BB2A9A is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.211 H 339.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BB2A9A
RGBrgb(187, 42, 154)
HSLhsl(314, 63%, 45%)
HSVhsv(314, 78%, 73%)
CMYKcmyk(0%, 77.5%, 17.6%, 26.7%)
CIE-LABlab(45.02, 66.29, -27.69)
CIE-LCHlch(45.02, 71.84, 337.33°)
OKLaboklab(55.41% 0.1973 -0.075)
OKLCHoklch(55.41% 0.211 339.2)
XYZxyz(27.1549, 14.5565, 31.9452)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2A9A #2ABB4B
analogous
#932ABB #BB2A9A #BB2A52
triadic
#BB2A9A #9ABB2A #2A9ABB
tetradic
#BB2A9A #BB932A #2ABB4B #2A52BB
square
#BB2A9A #BB932A #2ABB4B #2A52BB
split-complementary
#BB2A9A #52BB2A #2ABB93
monochromatic
#571448 #891F71 #BB2A9A #D74CB7 #E27DCB

Accessibility & contrast

On white

5.37
#BB2A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BB2A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2A9A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2A9A#FFFFFF#000000##FFFFFF
##BB2A9A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#C63160
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb2a9a;
/* rgb */ color: rgb(187, 42, 154);
/* oklch */ color: oklch(55.4% 0.211 339.2);
Tailwind
colors: {
  custom: {
    50: '#d474b8',
    500: '#bb2a9a',
    950: '#000000',
  },
}
SCSS
$custom: #bb2a9a;
$custom-light: #d474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2a9a",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 313.655,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.21111,
    "h": 339.2
  },
  "luminance": 0.14554
}

Semantic roles & 50–950 ramp

primary
#BB2A9A
secondary
#76CA8A
accent
#E66741
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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