#BB2E9F#BB2E9F

#BB2E9F is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 56.0% C 0.210 H 337.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB2E9F
RGBrgb(187, 46, 159)
HSLhsl(312, 61%, 46%)
HSVhsv(312, 75%, 73%)
CMYKcmyk(0%, 75.4%, 15%, 26.7%)
CIE-LABlab(45.67, 65.81, -29.67)
CIE-LCHlch(45.67, 72.19, 335.73°)
OKLaboklab(55.95% 0.1943 -0.0807)
OKLCHoklch(55.95% 0.21 337.5)
XYZxyz(27.7291, 15.0246, 34.2338)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2E9F #2EBB4A
analogous
#902EBB #BB2E9F #BB2E58
triadic
#BB2E9F #9FBB2E #2E9FBB
tetradic
#BB2E9F #BB902E #2EBB4A #2E58BB
square
#BB2E9F #BB902E #2EBB4A #2E58BB
split-complementary
#BB2E9F #58BB2E #2EBB90
monochromatic
#59164B #8A2275 #BB2E9F #D452BA #E083CE

Accessibility & contrast

On white

5.24
#BB2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB2E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2E9F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2E9F#FFFFFF#000000##FFFFFF
##BB2E9F1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#64749C
Tritanopia (blue-blind)
#C53764
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2e9f;
/* rgb */ color: rgb(187, 46, 159);
/* oklch */ color: oklch(56.0% 0.210 337.5);
Tailwind
colors: {
  custom: {
    50: '#d376bb',
    500: '#bb2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #bb2e9f;
$custom-light: #d376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2e9f",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 311.915,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55953,
    "c": 0.21041,
    "h": 337.5
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#BB2E9F
secondary
#7BCA8B
accent
#E46444
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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