#BB3871#BB3871

#BB3871 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.174 H 357.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#BB3871
RGBrgb(187, 56, 113)
HSLhsl(334, 54%, 48%)
HSVhsv(334, 70%, 73%)
CMYKcmyk(0%, 70.1%, 39.6%, 26.7%)
CIE-LABlab(45.07, 56.68, -2.67)
CIE-LCHlch(45.07, 56.74, 357.30°)
OKLaboklab(54.92% 0.1737 -0.0063)
OKLCHoklch(54.92% 0.174 357.9)
XYZxyz(24.8900, 14.5884, 17.1247)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3871 #38BB82
analogous
#BB38B2 #BB3871 #BB4138
triadic
#BB3871 #71BB38 #3871BB
tetradic
#BB3871 #B2BB38 #38BB82 #4138BB
square
#BB3871 #B2BB38 #38BB82 #4138BB
split-complementary
#BB3871 #38BB41 #38B2BB
monochromatic
#5D1C38 #8C2A55 #BB3871 #D06191 #DE90B2

Accessibility & contrast

On white

5.36
#BB3871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BB3871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3871
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3871#FFFFFF#000000##FFFFFF
##BB38711.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#75746E
Tritanopia (blue-blind)
#CA2950
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb3871;
/* rgb */ color: rgb(187, 56, 113);
/* oklch */ color: oklch(54.9% 0.174 357.9);
Tailwind
colors: {
  custom: {
    50: '#d47899',
    500: '#bb3871',
    950: '#000000',
  },
}
SCSS
$custom: #bb3871;
$custom-light: #d47899;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3871",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 333.893,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54921,
    "c": 0.17384,
    "h": 357.9
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#BB3871
secondary
#86C8AC
accent
#DD9D4B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB3871

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

Preview Lab → · Contrast checker → · Palette generator →

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