#BB56A6#BB56A6

#BB56A6 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.162 H 336.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB56A6
RGBrgb(187, 86, 166)
HSLhsl(312, 43%, 54%)
HSVhsv(312, 54%, 73%)
CMYKcmyk(0%, 54%, 11.2%, 26.7%)
CIE-LABlab(51.81, 50.79, -24.28)
CIE-LCHlch(51.81, 56.30, 334.45°)
OKLaboklab(60.54% 0.1478 -0.0657)
OKLCHoklch(60.54% 0.162 336)
XYZxyz(30.7044, 19.9758, 38.3075)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56A6 #56BB6B
analogous
#9D56BB #BB56A6 #BB5673
triadic
#BB56A6 #A6BB56 #56A6BB
tetradic
#BB56A6 #BB9D56 #56BB6B #5673BB
square
#BB56A6 #BB9D56 #56BB6B #5673BB
split-complementary
#BB56A6 #73BB56 #56BB9D
monochromatic
#6B2B5E #973D84 #BB56A6 #CD82BD #DEADD4

Accessibility & contrast

On white

4.20
#BB56A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BB56A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56A6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56A6#FFFFFF#000000##000000
##BB56A61.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#7481A3
Tritanopia (blue-blind)
#C35B76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb56a6;
/* rgb */ color: rgb(187, 86, 166);
/* oklch */ color: oklch(60.5% 0.162 336.0);
Tailwind
colors: {
  custom: {
    50: '#d28ac0',
    500: '#bb56a6',
    950: '#000000',
  },
}
SCSS
$custom: #bb56a6;
$custom-light: #d28ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56a6",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 312.475,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.16169,
    "h": 336
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#BB56A6
secondary
#A1CCAA
accent
#D26F55
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB56A6

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

Preview Lab → · Contrast checker → · Palette generator →

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