#BB4EA1#BB4EA1

#BB4EA1 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.170 H 337.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB4EA1
RGBrgb(187, 78, 161)
HSLhsl(314, 44%, 52%)
HSVhsv(314, 58%, 73%)
CMYKcmyk(0%, 58.3%, 13.9%, 26.7%)
CIE-LABlab(50.20, 53.75, -23.82)
CIE-LCHlch(50.20, 58.79, 336.10°)
OKLaboklab(59.29% 0.1578 -0.0643)
OKLCHoklch(59.29% 0.17 337.8)
XYZxyz(29.6513, 18.5892, 35.7377)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA1 #4EBB68
analogous
#9F4EBB #BB4EA1 #BB4E6B
triadic
#BB4EA1 #A1BB4E #4EA1BB
tetradic
#BB4EA1 #BB9F4E #4EBB68 #4E6BBB
square
#BB4EA1 #BB9F4E #4EBB68 #4E6BBB
split-complementary
#BB4EA1 #6BBB4E #4EBB9F
monochromatic
#672858 #93397E #BB4EA1 #CC7AB8 #DDA6D0

Accessibility & contrast

On white

4.45
#BB4EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BB4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EA1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EA1#FFFFFF#000000##000000
##BB4EA11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA4
Deuteranopia (green-blind)
#727E9E
Tritanopia (blue-blind)
#C45270
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb4ea1;
/* rgb */ color: rgb(187, 78, 161);
/* oklch */ color: oklch(59.3% 0.170 337.8);
Tailwind
colors: {
  custom: {
    50: '#d285bd',
    500: '#bb4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea1;
$custom-light: #d285bd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea1",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 314.312,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.17041,
    "h": 337.8
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#BB4EA1
secondary
#9BCAA6
accent
#D47254
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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