#BB2AA2#BB2AA2

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

Color values

HEX#BB2AA2
RGBrgb(187, 42, 162)
HSLhsl(310, 63%, 45%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 77.5%, 13.4%, 26.7%)
CIE-LABlab(45.40, 67.40, -31.88)
CIE-LCHlch(45.40, 74.56, 334.69°)
OKLaboklab(55.81% 0.1981 -0.087)
OKLCHoklch(55.81% 0.216 336.3)
XYZxyz(27.8436, 14.8320, 35.5719)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2AA2 #2ABB43
analogous
#8C2ABB #BB2AA2 #BB2A59
triadic
#BB2AA2 #A2BB2A #2AA2BB
tetradic
#BB2AA2 #BB8C2A #2ABB43 #2A59BB
square
#BB2AA2 #BB8C2A #2ABB43 #2A59BB
split-complementary
#BB2AA2 #59BB2A #2ABB8C
monochromatic
#57144B #891F77 #BB2AA2 #D74CBF #E27DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2AA2#FFFFFF#000000##FFFFFF
##BB2AA21.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#C53564
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb2aa2;
/* rgb */ color: rgb(187, 42, 162);
/* oklch */ color: oklch(55.8% 0.216 336.3);
Tailwind
colors: {
  custom: {
    50: '#d474be',
    500: '#bb2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #bb2aa2;
$custom-light: #d474be;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2aa2",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 310.345,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.21636,
    "h": 336.3
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#BB2AA2
secondary
#76CA85
accent
#E65E41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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