#BB4871#BB4871

#BB4871 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.153 H 1.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BB4871
RGBrgb(187, 72, 113)
HSLhsl(339, 46%, 51%)
HSVhsv(339, 61%, 73%)
CMYKcmyk(0%, 61.5%, 39.6%, 26.7%)
CIE-LABlab(47.49, 50.06, 0.88)
CIE-LCHlch(47.49, 50.06, 1.00°)
OKLaboklab(56.72% 0.1528 0.0029)
OKLCHoklch(56.72% 0.153 1.1)
XYZxyz(25.7931, 16.3947, 17.4257)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4871 #48BB92
analogous
#BB48AA #BB4871 #BB5848
triadic
#BB4871 #71BB48 #4871BB
tetradic
#BB4871 #AABB48 #48BB92 #5848BB
square
#BB4871 #AABB48 #48BB92 #5848BB
split-complementary
#BB4871 #48BB58 #48AABB
monochromatic
#64253B #903656 #BB4871 #CC7594 #DCA1B6

Accessibility & contrast

On white

4.91
#BB4871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB4871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4871
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4871#FFFFFF#000000##FFFFFF
##BB48711.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6372
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#CA3C58
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb4871;
/* rgb */ color: rgb(187, 72, 113);
/* oklch */ color: oklch(56.7% 0.153 1.1);
Tailwind
colors: {
  custom: {
    50: '#d48199',
    500: '#bb4871',
    950: '#000000',
  },
}
SCSS
$custom: #bb4871;
$custom-light: #d48199;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4871",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 338.609,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.15285,
    "h": 1.1
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#BB4871
secondary
#96C9B7
accent
#D5A752
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB4871

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

Preview Lab → · Contrast checker → · Palette generator →

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