#BB2F9F#BB2F9F

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

Color values

HEX#BB2F9F
RGBrgb(187, 47, 159)
HSLhsl(312, 60%, 46%)
HSVhsv(312, 75%, 73%)
CMYKcmyk(0%, 74.9%, 15%, 26.7%)
CIE-LABlab(45.78, 65.50, -29.50)
CIE-LCHlch(45.78, 71.84, 335.75°)
OKLaboklab(56.03% 0.1934 -0.0802)
OKLCHoklch(56.03% 0.209 337.5)
XYZxyz(27.7686, 15.1036, 34.2470)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F9F #2FBB4B
analogous
#912FBB #BB2F9F #BB2F59
triadic
#BB2F9F #9FBB2F #2F9FBB
tetradic
#BB2F9F #BB912F #2FBB4B #2F59BB
square
#BB2F9F #BB912F #2FBB4B #2F59BB
split-complementary
#BB2F9F #59BB2F #2FBB91
monochromatic
#59164C #8A2375 #BB2F9F #D453BA #E084CE

Accessibility & contrast

On white

5.22
#BB2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F9F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F9F#FFFFFF#000000##FFFFFF
##BB2F9F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb2f9f;
/* rgb */ color: rgb(187, 47, 159);
/* oklch */ color: oklch(56.0% 0.209 337.5);
Tailwind
colors: {
  custom: {
    50: '#d376bb',
    500: '#bb2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f9f;
$custom-light: #d376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f9f",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 312,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.20938,
    "h": 337.5
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#BB2F9F
secondary
#7CC98C
accent
#E36445
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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