#BB5BAB#BB5BAB

#BB5BAB is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.4% C 0.158 H 334.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB5BAB
RGBrgb(187, 91, 171)
HSLhsl(310, 41%, 55%)
HSVhsv(310, 51%, 73%)
CMYKcmyk(0%, 51.3%, 8.6%, 26.7%)
CIE-LABlab(52.94, 49.18, -25.46)
CIE-LCHlch(52.94, 55.38, 332.63°)
OKLaboklab(61.45% 0.1417 -0.0691)
OKLCHoklch(61.45% 0.158 334)
XYZxyz(31.5853, 20.9893, 40.9079)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BAB #5BBB6B
analogous
#9B5BBB #BB5BAB #BB5B7B
triadic
#BB5BAB #ABBB5B #5BABBB
tetradic
#BB5BAB #BB9B5B #5BBB6B #5B7BBB
square
#BB5BAB #BB9B5B #5BBB6B #5B7BBB
split-complementary
#BB5BAB #7BBB5B #5BBB9B
monochromatic
#6E2E63 #99408A #BB5BAB #CD86C1 #DFB2D7

Accessibility & contrast

On white

4.04
#BB5BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB5BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BAB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BAB#FFFFFF#000000##000000
##BB5BAB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#C3617B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5bab;
/* rgb */ color: rgb(187, 91, 171);
/* oklch */ color: oklch(61.4% 0.158 334.0);
Tailwind
colors: {
  custom: {
    50: '#d28dc4',
    500: '#bb5bab',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bab;
$custom-light: #d28dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bab",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 310,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.1576,
    "h": 334
  },
  "luminance": 0.20987
}

Semantic roles & 50–950 ramp

primary
#BB5BAB
secondary
#A5CDAB
accent
#D16B57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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