#BB5791#BB5791

#BB5791 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 59.8% C 0.145 H 346.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB5791
RGBrgb(187, 87, 145)
HSLhsl(325, 42%, 54%)
HSVhsv(325, 53%, 73%)
CMYKcmyk(0%, 53.5%, 22.5%, 26.7%)
CIE-LABlab(51.18, 47.07, -12.85)
CIE-LCHlch(51.18, 48.79, 344.73°)
OKLaboklab(59.81% 0.1412 -0.0339)
OKLCHoklch(59.81% 0.145 346.5)
XYZxyz(29.0134, 19.4280, 29.0045)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5791 #57BB81
analogous
#B357BB #BB5791 #BB575F
triadic
#BB5791 #91BB57 #5791BB
tetradic
#BB5791 #BBB357 #57BB81 #575FBB
square
#BB5791 #BBB357 #57BB81 #575FBB
split-complementary
#BB5791 #5FBB57 #57BBB3
monochromatic
#6C2C51 #973D72 #BB5791 #CD83AE #DEAECA

Accessibility & contrast

On white

4.30
#BB5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BB5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5791
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5791#FFFFFF#000000##000000
##BB57911.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#606F93
Deuteranopia (green-blind)
#7C808E
Tritanopia (blue-blind)
#C6556D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb5791;
/* rgb */ color: rgb(187, 87, 145);
/* oklch */ color: oklch(59.8% 0.145 346.5);
Tailwind
colors: {
  custom: {
    50: '#d28ab1',
    500: '#bb5791',
    950: '#000000',
  },
}
SCSS
$custom: #bb5791;
$custom-light: #d28ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5791",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 325.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.14516,
    "h": 346.5
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#BB5791
secondary
#A2CCB3
accent
#D28A56
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BB5791

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

Preview Lab → · Contrast checker → · Palette generator →

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