#BB5781#BB5781

#BB5781 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.2% C 0.137 H 355.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB5781
RGBrgb(187, 87, 129)
HSLhsl(335, 42%, 54%)
HSVhsv(335, 53%, 73%)
CMYKcmyk(0%, 53.5%, 31%, 26.7%)
CIE-LABlab(50.65, 44.87, -4.12)
CIE-LCHlch(50.65, 45.06, 354.75°)
OKLaboklab(59.24% 0.1362 -0.0103)
OKLCHoklch(59.24% 0.137 355.7)
XYZxyz(27.8654, 18.9688, 22.9584)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5781 #57BB91
analogous
#BB57B3 #BB5781 #BB5F57
triadic
#BB5781 #81BB57 #5781BB
tetradic
#BB5781 #B3BB57 #57BB91 #5F57BB
square
#BB5781 #B3BB57 #57BB91 #5F57BB
split-complementary
#BB5781 #57BB5F #57B3BB
monochromatic
#6C2C47 #973D63 #BB5781 #CD83A2 #DEAEC2

Accessibility & contrast

On white

4.38
#BB5781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BB5781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5781
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5781#FFFFFF#000000##000000
##BB57811.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D82
Deuteranopia (green-blind)
#807F7F
Tritanopia (blue-blind)
#C85167
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb5781;
/* rgb */ color: rgb(187, 87, 129);
/* oklch */ color: oklch(59.2% 0.137 355.7);
Tailwind
colors: {
  custom: {
    50: '#d28aa5',
    500: '#bb5781',
    950: '#000000',
  },
}
SCSS
$custom: #bb5781;
$custom-light: #d28aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5781",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 334.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.13659,
    "h": 355.7
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#BB5781
secondary
#A2CCBA
accent
#D29E56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BB5781

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

Preview Lab → · Contrast checker → · Palette generator →

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