#BB5787#BB5787

#BB5787 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.4% C 0.139 H 352.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB5787
RGBrgb(187, 87, 135)
HSLhsl(331, 42%, 54%)
HSVhsv(331, 53%, 73%)
CMYKcmyk(0%, 53.5%, 27.8%, 26.7%)
CIE-LABlab(50.84, 45.67, -7.42)
CIE-LCHlch(50.84, 46.27, 350.77°)
OKLaboklab(59.44% 0.1382 -0.0191)
OKLCHoklch(59.44% 0.139 352.1)
XYZxyz(28.2759, 19.1330, 25.1208)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5787 #57BB8B
analogous
#BB57B9 #BB5787 #BB5957
triadic
#BB5787 #87BB57 #5787BB
tetradic
#BB5787 #B9BB57 #57BB8B #5957BB
square
#BB5787 #B9BB57 #57BB8B #5957BB
split-complementary
#BB5787 #57BB59 #57B9BB
monochromatic
#6C2C4B #973D69 #BB5787 #CD83A6 #DEAEC5

Accessibility & contrast

On white

4.35
#BB5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BB5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5787
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5787#FFFFFF#000000##000000
##BB57871.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#7E8085
Tritanopia (blue-blind)
#C75369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5787;
/* rgb */ color: rgb(187, 87, 135);
/* oklch */ color: oklch(59.4% 0.139 352.1);
Tailwind
colors: {
  custom: {
    50: '#d28aaa',
    500: '#bb5787',
    950: '#000000',
  },
}
SCSS
$custom: #bb5787;
$custom-light: #d28aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5787",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 331.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59444,
    "c": 0.13947,
    "h": 352.1
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#BB5787
secondary
#A2CCB8
accent
#D29656
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BB5787

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

Preview Lab → · Contrast checker → · Palette generator →

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