#BB2AA1#BB2AA1

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

Color values

HEX#BB2AA1
RGBrgb(187, 42, 161)
HSLhsl(311, 63%, 45%)
HSVhsv(311, 78%, 73%)
CMYKcmyk(0%, 77.5%, 13.9%, 26.7%)
CIE-LABlab(45.35, 67.26, -31.36)
CIE-LCHlch(45.35, 74.21, 335.00°)
OKLaboklab(55.76% 0.198 -0.0855)
OKLCHoklch(55.76% 0.216 336.7)
XYZxyz(27.7550, 14.7966, 35.1056)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AA1 #2ABB44
analogous
#8D2ABB #BB2AA1 #BB2A58
triadic
#BB2AA1 #A1BB2A #2AA1BB
tetradic
#BB2AA1 #BB8D2A #2ABB44 #2A58BB
square
#BB2AA1 #BB8D2A #2ABB44 #2A58BB
split-complementary
#BB2AA1 #58BB2A #2ABB8D
monochromatic
#57144B #891F76 #BB2AA1 #D74CBE #E27DD0

Accessibility & contrast

On white

5.30
#BB2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BB2AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2AA1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2AA1#FFFFFF#000000##FFFFFF
##BB2AA11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb2aa1;
/* rgb */ color: rgb(187, 42, 161);
/* oklch */ color: oklch(55.8% 0.216 336.7);
Tailwind
colors: {
  custom: {
    50: '#d474bd',
    500: '#bb2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #bb2aa1;
$custom-light: #d474bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2aa1",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 310.759,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.21569,
    "h": 336.7
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#BB2AA1
secondary
#76CA86
accent
#E65F41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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