#BB4271#BB4271

#BB4271 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.0% C 0.161 H 359.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB4271
RGBrgb(187, 66, 113)
HSLhsl(337, 48%, 50%)
HSVhsv(337, 65%, 73%)
CMYKcmyk(0%, 64.7%, 39.6%, 26.7%)
CIE-LABlab(46.52, 52.68, -0.54)
CIE-LCHlch(46.52, 52.68, 359.42°)
OKLaboklab(56% 0.1611 -0.0008)
OKLCHoklch(56% 0.161 359.7)
XYZxyz(25.4240, 15.6564, 17.3027)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4271 #42BB8C
analogous
#BB42AE #BB4271 #BB4F42
triadic
#BB4271 #71BB42 #4271BB
tetradic
#BB4271 #AEBB42 #42BB8C #4F42BB
square
#BB4271 #AEBB42 #42BB8C #4F42BB
split-complementary
#BB4271 #42BB4F #42AEBB
monochromatic
#61223A #8E3256 #BB4271 #CC6E93 #DC9CB5

Accessibility & contrast

On white

5.08
#BB4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#BB4271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4271
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4271#FFFFFF#000000##FFFFFF
##BB42711.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#79776E
Tritanopia (blue-blind)
#CA3555
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb4271;
/* rgb */ color: rgb(187, 66, 113);
/* oklch */ color: oklch(56.0% 0.161 359.7);
Tailwind
colors: {
  custom: {
    50: '#d47d99',
    500: '#bb4271',
    950: '#000000',
  },
}
SCSS
$custom: #bb4271;
$custom-light: #d47d99;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4271",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 336.694,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.16107,
    "h": 359.7
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#BB4271
secondary
#91C8B3
accent
#D7A350
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BB4271

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

Preview Lab → · Contrast checker → · Palette generator →

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