#BB2271#BB2271

#BB2271 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.196 H 355.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BB2271
RGBrgb(187, 34, 113)
HSLhsl(329, 69%, 43%)
HSVhsv(329, 82%, 73%)
CMYKcmyk(0%, 81.8%, 39.6%, 26.7%)
CIE-LABlab(42.62, 63.57, -6.30)
CIE-LCHlch(42.62, 63.88, 354.34°)
OKLaboklab(53.13% 0.1957 -0.0158)
OKLCHoklch(53.13% 0.196 355.4)
XYZxyz(24.0479, 12.9042, 16.8440)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2271 #22BB6C
analogous
#B822BB #BB2271 #BB2224
triadic
#BB2271 #71BB22 #2271BB
tetradic
#BB2271 #BBB822 #22BB6C #2224BB
square
#BB2271 #BBB822 #22BB6C #2224BB
split-complementary
#BB2271 #24BB22 #22BBB8
monochromatic
#530F32 #871952 #BB2271 #DC3E90 #E572AE

Accessibility & contrast

On white

5.87
#BB2271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#BB2271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2271
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2271#FFFFFF#000000##FFFFFF
##BB22711.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#CA0147
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb2271;
/* rgb */ color: rgb(187, 34, 113);
/* oklch */ color: oklch(53.1% 0.196 355.4);
Tailwind
colors: {
  custom: {
    50: '#d57099',
    500: '#bb2271',
    950: '#000000',
  },
}
SCSS
$custom: #bb2271;
$custom-light: #d57099;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2271",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 329.02,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.19634,
    "h": 355.4
  },
  "luminance": 0.12901
}

Semantic roles & 50–950 ramp

primary
#BB2271
secondary
#6DCC9B
accent
#EC913C
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB2271

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

Preview Lab → · Contrast checker → · Palette generator →

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