#BB5271#BB5271

#BB5271 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.0% C 0.139 H 3.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB5271
RGBrgb(187, 82, 113)
HSLhsl(342, 44%, 53%)
HSVhsv(342, 56%, 73%)
CMYKcmyk(0%, 56.1%, 39.6%, 26.7%)
CIE-LABlab(49.25, 45.38, 3.42)
CIE-LCHlch(49.25, 45.51, 4.32°)
OKLaboklab(58.03% 0.1382 0.0094)
OKLCHoklch(58.03% 0.139 3.9)
XYZxyz(26.4930, 17.7944, 17.6590)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5271 #52BB9C
analogous
#BB52A5 #BB5271 #BB6852
triadic
#BB5271 #71BB52 #5271BB
tetradic
#BB5271 #A5BB52 #52BB9C #6852BB
square
#BB5271 #A5BB52 #52BB9C #6852BB
split-complementary
#BB5271 #52BB68 #52A5BB
monochromatic
#69293C #953B55 #BB5271 #CC7E95 #DEAAB9

Accessibility & contrast

On white

4.61
#BB5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BB5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB5271
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5271#FFFFFF#000000##FFFFFF
##BB52711.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656872
Deuteranopia (green-blind)
#807D6F
Tritanopia (blue-blind)
#CA485E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb5271;
/* rgb */ color: rgb(187, 82, 113);
/* oklch */ color: oklch(58.0% 0.139 3.9);
Tailwind
colors: {
  custom: {
    50: '#d38799',
    500: '#bb5271',
    950: '#000000',
  },
}
SCSS
$custom: #bb5271;
$custom-light: #d38799;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5271",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 342.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5803,
    "c": 0.1385,
    "h": 3.9
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#BB5271
secondary
#9ECBBE
accent
#D3AE54
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB5271

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

Preview Lab → · Contrast checker → · Palette generator →

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