#BB2F9B#BB2F9B

#BB2F9B is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.207 H 339.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BB2F9B
RGBrgb(187, 47, 155)
HSLhsl(314, 60%, 46%)
HSVhsv(314, 75%, 73%)
CMYKcmyk(0%, 74.9%, 17.1%, 26.7%)
CIE-LABlab(45.59, 64.94, -27.40)
CIE-LCHlch(45.59, 70.48, 337.12°)
OKLaboklab(55.84% 0.193 -0.0742)
OKLCHoklch(55.84% 0.207 339)
XYZxyz(27.4271, 14.9671, 32.4485)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F9B #2FBB4F
analogous
#952FBB #BB2F9B #BB2F55
triadic
#BB2F9B #9BBB2F #2F9BBB
tetradic
#BB2F9B #BB952F #2FBB4F #2F55BB
square
#BB2F9B #BB952F #2FBB4F #2F55BB
split-complementary
#BB2F9B #55BB2F #2FBB95
monochromatic
#59164A #8A2372 #BB2F9B #D453B6 #E084CB

Accessibility & contrast

On white

5.26
#BB2F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BB2F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F9B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F9B#FFFFFF#000000##FFFFFF
##BB2F9B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#667498
Tritanopia (blue-blind)
#C63562
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2f9b;
/* rgb */ color: rgb(187, 47, 155);
/* oklch */ color: oklch(55.8% 0.207 339.0);
Tailwind
colors: {
  custom: {
    50: '#d376b8',
    500: '#bb2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f9b;
$custom-light: #d376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f9b",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 313.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55835,
    "c": 0.20673,
    "h": 339
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#BB2F9B
secondary
#7CC98E
accent
#E36945
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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