#BB4EA6#BB4EA6

#BB4EA6 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.174 H 335.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB4EA6
RGBrgb(187, 78, 166)
HSLhsl(312, 44%, 52%)
HSVhsv(312, 58%, 73%)
CMYKcmyk(0%, 58.3%, 11.2%, 26.7%)
CIE-LABlab(50.42, 54.54, -26.43)
CIE-LCHlch(50.42, 60.61, 334.14°)
OKLaboklab(59.51% 0.1587 -0.0717)
OKLCHoklch(59.51% 0.174 335.7)
XYZxyz(30.1011, 18.7691, 38.1064)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA6 #4EBB63
analogous
#9A4EBB #BB4EA6 #BB4E6F
triadic
#BB4EA6 #A6BB4E #4EA6BB
tetradic
#BB4EA6 #BB9A4E #4EBB63 #4E6FBB
square
#BB4EA6 #BB9A4E #4EBB63 #4E6FBB
split-complementary
#BB4EA6 #6FBB4E #4EBB9A
monochromatic
#67285B #933982 #BB4EA6 #CC7ABC #DDA6D2

Accessibility & contrast

On white

4.42
#BB4EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB4EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EA6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EA6#FFFFFF#000000##000000
##BB4EA61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#C45473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea6;
/* rgb */ color: rgb(187, 78, 166);
/* oklch */ color: oklch(59.5% 0.174 335.7);
Tailwind
colors: {
  custom: {
    50: '#d285c0',
    500: '#bb4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea6;
$custom-light: #d285c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea6",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 311.56,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.17419,
    "h": 335.7
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#BB4EA6
secondary
#9BCAA4
accent
#D46C54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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