#BB57A8#BB57A8

#BB57A8 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.162 H 335.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BB57A8
RGBrgb(187, 87, 168)
HSLhsl(311, 42%, 54%)
HSVhsv(311, 53%, 73%)
CMYKcmyk(0%, 53.5%, 10.2%, 26.7%)
CIE-LABlab(52.07, 50.64, -25.04)
CIE-LCHlch(52.07, 56.49, 333.69°)
OKLaboklab(60.77% 0.1468 -0.0678)
OKLCHoklch(60.77% 0.162 335.2)
XYZxyz(30.9697, 20.2105, 39.3080)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57A8 #57BB6A
analogous
#9C57BB #BB57A8 #BB5776
triadic
#BB57A8 #A8BB57 #57A8BB
tetradic
#BB57A8 #BB9C57 #57BB6A #5776BB
square
#BB57A8 #BB9C57 #57BB6A #5776BB
split-complementary
#BB57A8 #76BB57 #57BB9C
monochromatic
#6C2C60 #973D86 #BB57A8 #CD83BF #DEAED5

Accessibility & contrast

On white

4.17
#BB57A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BB57A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57A8#FFFFFF#000000##000000
##BB57A81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#7482A5
Tritanopia (blue-blind)
#C35C78
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb57a8;
/* rgb */ color: rgb(187, 87, 168);
/* oklch */ color: oklch(60.8% 0.162 335.2);
Tailwind
colors: {
  custom: {
    50: '#d28bc2',
    500: '#bb57a8',
    950: '#000000',
  },
}
SCSS
$custom: #bb57a8;
$custom-light: #d28bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57a8",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 168
  },
  "hsl": {
    "h": 311.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.16168,
    "h": 335.2
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#BB57A8
secondary
#A2CCAA
accent
#D26D56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB57A8

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

Preview Lab → · Contrast checker → · Palette generator →

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