#BB4EA5#BB4EA5

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

Color values

HEX#BB4EA5
RGBrgb(187, 78, 165)
HSLhsl(312, 44%, 52%)
HSVhsv(312, 58%, 73%)
CMYKcmyk(0%, 58.3%, 11.8%, 26.7%)
CIE-LABlab(50.37, 54.38, -25.91)
CIE-LCHlch(50.37, 60.24, 334.52°)
OKLaboklab(59.47% 0.1586 -0.0702)
OKLCHoklch(59.47% 0.173 336.1)
XYZxyz(30.0097, 18.7325, 37.6252)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA5 #4EBB64
analogous
#9B4EBB #BB4EA5 #BB4E6F
triadic
#BB4EA5 #A5BB4E #4EA5BB
tetradic
#BB4EA5 #BB9B4E #4EBB64 #4E6FBB
square
#BB4EA5 #BB9B4E #4EBB64 #4E6FBB
split-complementary
#BB4EA5 #6FBB4E #4EBB9B
monochromatic
#67285A #933981 #BB4EA5 #CC7ABB #DDA6D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4EA5#FFFFFF#000000##000000
##BB4EA51.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)
#4F6DA8
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#C45372
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea5;
/* rgb */ color: rgb(187, 78, 165);
/* oklch */ color: oklch(59.5% 0.173 336.1);
Tailwind
colors: {
  custom: {
    50: '#d285c0',
    500: '#bb4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea5;
$custom-light: #d285c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea5",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 312.11,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.17343,
    "h": 336.1
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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