#BB57A2#BB57A2

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

Color values

HEX#BB57A2
RGBrgb(187, 87, 162)
HSLhsl(315, 42%, 54%)
HSVhsv(315, 53%, 73%)
CMYKcmyk(0%, 53.5%, 13.4%, 26.7%)
CIE-LABlab(51.83, 49.66, -21.90)
CIE-LCHlch(51.83, 54.28, 336.20°)
OKLaboklab(60.5% 0.1455 -0.059)
OKLCHoklch(60.5% 0.157 337.9)
XYZxyz(30.4236, 19.9921, 36.4319)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57A2 #57BB70
analogous
#A257BB #BB57A2 #BB5770
triadic
#BB57A2 #A2BB57 #57A2BB
tetradic
#BB57A2 #BBA257 #57BB70 #5770BB
square
#BB57A2 #BBA257 #57BB70 #5770BB
split-complementary
#BB57A2 #70BB57 #57BBA2
monochromatic
#6C2C5C #973D81 #BB57A2 #CD83BA #DEAED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB57A2#FFFFFF#000000##000000
##BB57A21.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)
#5A72A4
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#C45A75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb57a2;
/* rgb */ color: rgb(187, 87, 162);
/* oklch */ color: oklch(60.5% 0.157 337.9);
Tailwind
colors: {
  custom: {
    50: '#d28bbd',
    500: '#bb57a2',
    950: '#000000',
  },
}
SCSS
$custom: #bb57a2;
$custom-light: #d28bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57a2",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 315,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60502,
    "c": 0.15698,
    "h": 337.9
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#BB57A2
secondary
#A2CCAC
accent
#D27556
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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