#BB2B9E#BB2B9E

#BB2B9E is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.213 H 337.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BB2B9E
RGBrgb(187, 43, 158)
HSLhsl(312, 63%, 45%)
HSVhsv(312, 77%, 73%)
CMYKcmyk(0%, 77%, 15.5%, 26.7%)
CIE-LABlab(45.31, 66.56, -29.64)
CIE-LCHlch(45.31, 72.86, 336.00°)
OKLaboklab(55.68% 0.1969 -0.0805)
OKLCHoklch(55.68% 0.213 337.8)
XYZxyz(27.5296, 14.7638, 33.7410)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2B9E #2BBB48
analogous
#902BBB #BB2B9E #BB2B56
triadic
#BB2B9E #9EBB2B #2B9EBB
tetradic
#BB2B9E #BB902B #2BBB48 #2B56BB
square
#BB2B9E #BB902B #2BBB48 #2B56BB
split-complementary
#BB2B9E #56BB2B #2BBB90
monochromatic
#57144A #892074 #BB2B9E #D64DBB #E27FCE

Accessibility & contrast

On white

5.31
#BB2B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BB2B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2B9E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2B9E#FFFFFF#000000##FFFFFF
##BB2B9E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#C53462
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb2b9e;
/* rgb */ color: rgb(187, 43, 158);
/* oklch */ color: oklch(55.7% 0.213 337.8);
Tailwind
colors: {
  custom: {
    50: '#d474bb',
    500: '#bb2b9e',
    950: '#000000',
  },
}
SCSS
$custom: #bb2b9e;
$custom-light: #d474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2b9e",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 312.083,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55679,
    "c": 0.21275,
    "h": 337.8
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#BB2B9E
secondary
#78CA88
accent
#E66342
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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