#BB4EA8#BB4EA8

#BB4EA8 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.176 H 334.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BB4EA8
RGBrgb(187, 78, 168)
HSLhsl(310, 44%, 52%)
HSVhsv(310, 58%, 73%)
CMYKcmyk(0%, 58.3%, 10.2%, 26.7%)
CIE-LABlab(50.50, 54.86, -27.47)
CIE-LCHlch(50.50, 61.35, 333.40°)
OKLaboklab(59.61% 0.1591 -0.0747)
OKLCHoklch(59.61% 0.176 334.9)
XYZxyz(30.2860, 18.8430, 39.0801)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA8 #4EBB61
analogous
#984EBB #BB4EA8 #BB4E72
triadic
#BB4EA8 #A8BB4E #4EA8BB
tetradic
#BB4EA8 #BB984E #4EBB61 #4E72BB
square
#BB4EA8 #BB984E #4EBB61 #4E72BB
split-complementary
#BB4EA8 #72BB4E #4EBB98
monochromatic
#67285C #933983 #BB4EA8 #CC7ABE #DDA6D3

Accessibility & contrast

On white

4.40
#BB4EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BB4EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EA8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EA8#FFFFFF#000000##000000
##BB4EA81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#6F7EA5
Tritanopia (blue-blind)
#C35574
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea8;
/* rgb */ color: rgb(187, 78, 168);
/* oklch */ color: oklch(59.6% 0.176 334.9);
Tailwind
colors: {
  custom: {
    50: '#d285c2',
    500: '#bb4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea8;
$custom-light: #d285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea8",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 310.459,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59606,
    "c": 0.17574,
    "h": 334.9
  },
  "luminance": 0.18841
}

Semantic roles & 50–950 ramp

primary
#BB4EA8
secondary
#9BCAA3
accent
#D46A54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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