#BB56A7#BB56A7

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

Color values

HEX#BB56A7
RGBrgb(187, 86, 167)
HSLhsl(312, 43%, 54%)
HSVhsv(312, 54%, 73%)
CMYKcmyk(0%, 54%, 10.7%, 26.7%)
CIE-LABlab(51.85, 50.96, -24.80)
CIE-LCHlch(51.85, 56.67, 334.05°)
OKLaboklab(60.59% 0.148 -0.0672)
OKLCHoklch(60.59% 0.162 335.6)
XYZxyz(30.7965, 20.0126, 38.7925)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56A7 #56BB6A
analogous
#9C56BB #BB56A7 #BB5674
triadic
#BB56A7 #A7BB56 #56A7BB
tetradic
#BB56A7 #BB9C56 #56BB6A #5674BB
square
#BB56A7 #BB9C56 #56BB6A #5674BB
split-complementary
#BB56A7 #74BB56 #56BB9C
monochromatic
#6B2B5F #973D85 #BB56A7 #CD82BE #DEADD4

Accessibility & contrast

On white

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

On black

5.00
#BB56A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56A7#FFFFFF#000000##000000
##BB56A71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772AA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#C35B77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb56a7;
/* rgb */ color: rgb(187, 86, 167);
/* oklch */ color: oklch(60.6% 0.162 335.6);
Tailwind
colors: {
  custom: {
    50: '#d28ac1',
    500: '#bb56a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb56a7;
$custom-light: #d28ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56a7",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 311.881,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.16249,
    "h": 335.6
  },
  "luminance": 0.2001
}

Semantic roles & 50–950 ramp

primary
#BB56A7
secondary
#A1CCA9
accent
#D26E55
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB56A7

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

Preview Lab → · Contrast checker → · Palette generator →

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