#BB3271#BB3271

#BB3271 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.181 H 357.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BB3271
RGBrgb(187, 50, 113)
HSLhsl(332, 58%, 46%)
HSVhsv(332, 73%, 73%)
CMYKcmyk(0%, 73.3%, 39.6%, 26.7%)
CIE-LABlab(44.29, 58.83, -3.81)
CIE-LCHlch(44.29, 58.96, 356.29°)
OKLaboklab(54.35% 0.1806 -0.0093)
OKLCHoklch(54.35% 0.181 357.1)
XYZxyz(24.6164, 14.0413, 17.0335)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3271 #32BB7C
analogous
#BB32B6 #BB3271 #BB3832
triadic
#BB3271 #71BB32 #3271BB
tetradic
#BB3271 #B6BB32 #32BB7C #3832BB
square
#BB3271 #B6BB32 #32BB7C #3832BB
split-complementary
#BB3271 #32BB38 #32B6BB
monochromatic
#5A1837 #8B2554 #BB3271 #D25890 #DF88B0

Accessibility & contrast

On white

5.52
#BB3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#BB3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3271
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3271#FFFFFF#000000##FFFFFF
##BB32711.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5873
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#CA214D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb3271;
/* rgb */ color: rgb(187, 50, 113);
/* oklch */ color: oklch(54.4% 0.181 357.1);
Tailwind
colors: {
  custom: {
    50: '#d47699',
    500: '#bb3271',
    950: '#000000',
  },
}
SCSS
$custom: #bb3271;
$custom-light: #d47699;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3271",
  "rgb": {
    "r": 187,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 332.409,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54352,
    "c": 0.18082,
    "h": 357.1
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#BB3271
secondary
#80C9A7
accent
#E19A47
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB3271

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

Preview Lab → · Contrast checker → · Palette generator →

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