#BB2E7B#BB2E7B

#BB2E7B is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.189 H 352.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB2E7B
RGBrgb(187, 46, 123)
HSLhsl(327, 61%, 46%)
HSVhsv(327, 75%, 73%)
CMYKcmyk(0%, 75.4%, 34.2%, 26.7%)
CIE-LABlab(44.16, 61.23, -10.16)
CIE-LCHlch(44.16, 62.07, 350.57°)
OKLaboklab(54.37% 0.1877 -0.0262)
OKLCHoklch(54.37% 0.189 352)
XYZxyz(25.0472, 13.9518, 20.1090)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2E7B #2EBB6E
analogous
#B42EBB #BB2E7B #BB2E34
triadic
#BB2E7B #7BBB2E #2E7BBB
tetradic
#BB2E7B #BBB42E #2EBB6E #2E34BB
square
#BB2E7B #BBB42E #2EBB6E #2E34BB
split-complementary
#BB2E7B #34BB2E #2EBBB4
monochromatic
#59163A #8A225B #BB2E7B #D45299 #E083B6

Accessibility & contrast

On white

5.54
#BB2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BB2E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2E7B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2E7B#FFFFFF#000000##FFFFFF
##BB2E7B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#707278
Tritanopia (blue-blind)
#C92251
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb2e7b;
/* rgb */ color: rgb(187, 46, 123);
/* oklch */ color: oklch(54.4% 0.189 352.0);
Tailwind
colors: {
  custom: {
    50: '#d474a1',
    500: '#bb2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #bb2e7b;
$custom-light: #d474a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2e7b",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 327.234,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.18948,
    "h": 352
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

primary
#BB2E7B
secondary
#7BCA9F
accent
#E48D44
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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