#BB57A7#BB57A7

#BB57A7 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.7% C 0.161 H 335.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB57A7
RGBrgb(187, 87, 167)
HSLhsl(312, 42%, 54%)
HSVhsv(312, 53%, 73%)
CMYKcmyk(0%, 53.5%, 10.7%, 26.7%)
CIE-LABlab(52.03, 50.47, -24.52)
CIE-LCHlch(52.03, 56.11, 334.09°)
OKLaboklab(60.72% 0.1465 -0.0664)
OKLCHoklch(60.72% 0.161 335.6)
XYZxyz(30.8769, 20.1734, 38.8193)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57A7 #57BB6B
analogous
#9D57BB #BB57A7 #BB5775
triadic
#BB57A7 #A7BB57 #57A7BB
tetradic
#BB57A7 #BB9D57 #57BB6B #5775BB
square
#BB57A7 #BB9D57 #57BB6B #5775BB
split-complementary
#BB57A7 #75BB57 #57BB9D
monochromatic
#6C2C5F #973D85 #BB57A7 #CD83BE #DEAED5

Accessibility & contrast

On white

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

On black

5.03
#BB57A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57A7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57A7#FFFFFF#000000##000000
##BB57A71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#C35C77
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb57a7;
/* rgb */ color: rgb(187, 87, 167);
/* oklch */ color: oklch(60.7% 0.161 335.6);
Tailwind
colors: {
  custom: {
    50: '#d28bc1',
    500: '#bb57a7',
    950: '#000000',
  },
}
SCSS
$custom: #bb57a7;
$custom-light: #d28bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57a7",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 312,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.16087,
    "h": 335.6
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB57A7

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

Preview Lab → · Contrast checker → · Palette generator →

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