#BB3187#BB3187

#BB3187 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.192 H 347.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BB3187
RGBrgb(187, 49, 135)
HSLhsl(323, 58%, 46%)
HSVhsv(323, 74%, 73%)
CMYKcmyk(0%, 73.8%, 27.8%, 26.7%)
CIE-LABlab(44.96, 61.67, -16.29)
CIE-LCHlch(44.96, 63.79, 345.20°)
OKLaboklab(55.1% 0.1875 -0.043)
OKLCHoklch(55.1% 0.192 347.1)
XYZxyz(25.9662, 14.5136, 24.3509)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3187 #31BB65
analogous
#AA31BB #BB3187 #BB3142
triadic
#BB3187 #87BB31 #3187BB
tetradic
#BB3187 #BBAA31 #31BB65 #3142BB
square
#BB3187 #BBAA31 #31BB65 #3142BB
split-complementary
#BB3187 #42BB31 #31BBAA
monochromatic
#5A1841 #8B2464 #BB3187 #D356A4 #E087BE

Accessibility & contrast

On white

5.38
#BB3187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BB3187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3187
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3187#FFFFFF#000000##FFFFFF
##BB31871.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#C82C58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bb3187;
/* rgb */ color: rgb(187, 49, 135);
/* oklch */ color: oklch(55.1% 0.192 347.1);
Tailwind
colors: {
  custom: {
    50: '#d476aa',
    500: '#bb3187',
    950: '#000000',
  },
}
SCSS
$custom: #bb3187;
$custom-light: #d476aa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3187",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 322.609,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.551,
    "c": 0.19241,
    "h": 347.1
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#BB3187
secondary
#7FC99B
accent
#E28146
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #BB3187

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

Preview Lab → · Contrast checker → · Palette generator →

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