#BB4E9B#BB4E9B

#BB4E9B is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.166 H 340.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB4E9B
RGBrgb(187, 78, 155)
HSLhsl(318, 44%, 52%)
HSVhsv(318, 58%, 73%)
CMYKcmyk(0%, 58.3%, 17.1%, 26.7%)
CIE-LABlab(49.96, 52.83, -20.65)
CIE-LCHlch(49.96, 56.72, 338.65°)
OKLaboklab(59.03% 0.1566 -0.0554)
OKLCHoklch(59.03% 0.166 340.5)
XYZxyz(29.1349, 18.3826, 33.0177)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4E9B #4EBB6E
analogous
#A54EBB #BB4E9B #BB4E64
triadic
#BB4E9B #9BBB4E #4E9BBB
tetradic
#BB4E9B #BBA54E #4EBB6E #4E64BB
square
#BB4E9B #BBA54E #4EBB6E #4E64BB
split-complementary
#BB4E9B #64BB4E #4EBBA5
monochromatic
#672854 #933979 #BB4E9B #CC7AB4 #DDA6CD

Accessibility & contrast

On white

4.49
#BB4E9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BB4E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4E9B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4E9B#FFFFFF#000000##000000
##BB4E9B1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546C9D
Deuteranopia (green-blind)
#747D98
Tritanopia (blue-blind)
#C5506E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb4e9b;
/* rgb */ color: rgb(187, 78, 155);
/* oklch */ color: oklch(59.0% 0.166 340.5);
Tailwind
colors: {
  custom: {
    50: '#d285b8',
    500: '#bb4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #bb4e9b;
$custom-light: #d285b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4e9b",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 317.615,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59025,
    "c": 0.16607,
    "h": 340.5
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

primary
#BB4E9B
secondary
#9BCAA9
accent
#D47954
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BB4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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