#BB2B9F#BB2B9F

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

Color values

HEX#BB2B9F
RGBrgb(187, 43, 159)
HSLhsl(312, 63%, 45%)
HSVhsv(312, 77%, 73%)
CMYKcmyk(0%, 77%, 15%, 26.7%)
CIE-LABlab(45.36, 66.70, -30.16)
CIE-LCHlch(45.36, 73.20, 335.67°)
OKLaboklab(55.73% 0.197 -0.082)
OKLCHoklch(55.73% 0.213 337.4)
XYZxyz(27.6160, 14.7984, 34.1961)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2B9F #2BBB47
analogous
#8F2BBB #BB2B9F #BB2B57
triadic
#BB2B9F #9FBB2B #2B9FBB
tetradic
#BB2B9F #BB8F2B #2BBB47 #2B57BB
square
#BB2B9F #BB8F2B #2BBB47 #2B57BB
split-complementary
#BB2B9F #57BB2B #2BBB8F
monochromatic
#57144A #892075 #BB2B9F #D64DBB #E27FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB2B9F#FFFFFF#000000##FFFFFF
##BB2B9F1.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)
#305DA2
Deuteranopia (green-blind)
#63739C
Tritanopia (blue-blind)
#C53463
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb2b9f;
/* rgb */ color: rgb(187, 43, 159);
/* oklch */ color: oklch(55.7% 0.213 337.4);
Tailwind
colors: {
  custom: {
    50: '#d474bb',
    500: '#bb2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #bb2b9f;
$custom-light: #d474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2b9f",
  "rgb": {
    "r": 187,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 311.667,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.2134,
    "h": 337.4
  },
  "luminance": 0.14796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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