#BB2F87#BB2F87

#BB2F87 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.195 H 346.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB2F87
RGBrgb(187, 47, 135)
HSLhsl(322, 60%, 46%)
HSVhsv(322, 75%, 73%)
CMYKcmyk(0%, 74.9%, 27.8%, 26.7%)
CIE-LABlab(44.73, 62.32, -16.65)
CIE-LCHlch(44.73, 64.51, 345.05°)
OKLaboklab(54.93% 0.1896 -0.044)
OKLCHoklch(54.93% 0.195 346.9)
XYZxyz(25.8844, 14.3500, 24.3237)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F87 #2FBB63
analogous
#A92FBB #BB2F87 #BB2F41
triadic
#BB2F87 #87BB2F #2F87BB
tetradic
#BB2F87 #BBA92F #2FBB63 #2F41BB
square
#BB2F87 #BBA92F #2FBB63 #2F41BB
split-complementary
#BB2F87 #41BB2F #2FBBA9
monochromatic
#591640 #8A2364 #BB2F87 #D453A4 #E084BE

Accessibility & contrast

On white

5.43
#BB2F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#BB2F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F87
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F87#FFFFFF#000000##FFFFFF
##BB2F871.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#6D7284
Tritanopia (blue-blind)
#C82A57
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb2f87;
/* rgb */ color: rgb(187, 47, 135);
/* oklch */ color: oklch(54.9% 0.195 346.9);
Tailwind
colors: {
  custom: {
    50: '#d475aa',
    500: '#bb2f87',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f87;
$custom-light: #d475aa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f87",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 322.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54932,
    "c": 0.19459,
    "h": 346.9
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#BB2F87
secondary
#7CC999
accent
#E38045
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB2F87

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

Preview Lab → · Contrast checker → · Palette generator →

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