#BB5EA8#BB5EA8

#BB5EA8 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.150 H 335.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB5EA8
RGBrgb(187, 94, 168)
HSLhsl(312, 41%, 55%)
HSVhsv(312, 50%, 73%)
CMYKcmyk(0%, 49.7%, 10.2%, 26.7%)
CIE-LABlab(53.38, 47.18, -23.02)
CIE-LCHlch(53.38, 52.50, 333.99°)
OKLaboklab(61.74% 0.1367 -0.0622)
OKLCHoklch(61.74% 0.15 335.5)
XYZxyz(31.5642, 21.3995, 39.5062)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EA8 #5EBB71
analogous
#9F5EBB #BB5EA8 #BB5E7A
triadic
#BB5EA8 #A8BB5E #5EA8BB
tetradic
#BB5EA8 #BB9F5E #5EBB71 #5E7ABB
square
#BB5EA8 #BB9F5E #5EBB71 #5E7ABB
split-complementary
#BB5EA8 #7ABB5E #5EBB9F
monochromatic
#702F62 #9B4188 #BB5EA8 #CD89BF #DFB4D7

Accessibility & contrast

On white

3.98
#BB5EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BB5EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EA8
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EA8#FFFFFF#000000##000000
##BB5EA81.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AB
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#C3627B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ea8;
/* rgb */ color: rgb(187, 94, 168);
/* oklch */ color: oklch(61.7% 0.150 335.5);
Tailwind
colors: {
  custom: {
    50: '#d18fc2',
    500: '#bb5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ea8;
$custom-light: #d18fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ea8",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 312.258,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.15016,
    "h": 335.5
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#BB5EA8
secondary
#A7CEAF
accent
#D07057
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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