#BB2F9A#BB2F9A

#BB2F9A is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.8% C 0.206 H 339.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB2F9A
RGBrgb(187, 47, 154)
HSLhsl(314, 60%, 46%)
HSVhsv(314, 75%, 73%)
CMYKcmyk(0%, 74.9%, 17.6%, 26.7%)
CIE-LABlab(45.54, 64.80, -26.87)
CIE-LCHlch(45.54, 70.15, 337.47°)
OKLaboklab(55.79% 0.1928 -0.0727)
OKLCHoklch(55.79% 0.206 339.3)
XYZxyz(27.3435, 14.9336, 32.0080)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F9A #2FBB50
analogous
#962FBB #BB2F9A #BB2F54
triadic
#BB2F9A #9ABB2F #2F9ABB
tetradic
#BB2F9A #BB962F #2FBB50 #2F54BB
square
#BB2F9A #BB962F #2FBB50 #2F54BB
split-complementary
#BB2F9A #54BB2F #2FBB96
monochromatic
#591649 #8A2372 #BB2F9A #D453B6 #E084CA

Accessibility & contrast

On white

5.27
#BB2F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2F9A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F9A#FFFFFF#000000##FFFFFF
##BB2F9A1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#667497
Tritanopia (blue-blind)
#C63561
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2f9a;
/* rgb */ color: rgb(187, 47, 154);
/* oklch */ color: oklch(55.8% 0.206 339.3);
Tailwind
colors: {
  custom: {
    50: '#d376b8',
    500: '#bb2f9a',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f9a;
$custom-light: #d376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f9a",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 314.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55787,
    "c": 0.20608,
    "h": 339.3
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#BB2F9A
secondary
#7CC98F
accent
#E36A45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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