#BB57AA#BB57AA

#BB57AA is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.163 H 334.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB57AA
RGBrgb(187, 87, 170)
HSLhsl(310, 42%, 54%)
HSVhsv(310, 53%, 73%)
CMYKcmyk(0%, 53.5%, 9.1%, 26.7%)
CIE-LABlab(52.16, 50.97, -26.08)
CIE-LCHlch(52.16, 57.25, 332.90°)
OKLaboklab(60.86% 0.1471 -0.0708)
OKLCHoklch(60.86% 0.163 334.3)
XYZxyz(31.1575, 20.2856, 40.2969)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57AA #57BB68
analogous
#9A57BB #BB57AA #BB5778
triadic
#BB57AA #AABB57 #57AABB
tetradic
#BB57AA #BB9A57 #57BB68 #5778BB
square
#BB57AA #BB9A57 #57BB68 #5778BB
split-complementary
#BB57AA #78BB57 #57BB9A
monochromatic
#6C2C61 #973D88 #BB57AA #CD83C0 #DEAED6

Accessibility & contrast

On white

4.15
#BB57AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB57AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57AA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57AA#FFFFFF#000000##000000
##BB57AA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AD
Deuteranopia (green-blind)
#7382A7
Tritanopia (blue-blind)
#C35D79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb57aa;
/* rgb */ color: rgb(187, 87, 170);
/* oklch */ color: oklch(60.9% 0.163 334.3);
Tailwind
colors: {
  custom: {
    50: '#d28bc3',
    500: '#bb57aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb57aa;
$custom-light: #d28bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57aa",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 310.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.16328,
    "h": 334.3
  },
  "luminance": 0.20283
}

Semantic roles & 50–950 ramp

primary
#BB57AA
secondary
#A2CCA9
accent
#D26B56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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