#BB5AA7#BB5AA7

#BB5AA7 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.1% C 0.156 H 335.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB5AA7
RGBrgb(187, 90, 167)
HSLhsl(312, 42%, 54%)
HSVhsv(312, 52%, 73%)
CMYKcmyk(0%, 51.9%, 10.7%, 26.7%)
CIE-LABlab(52.59, 49.01, -23.67)
CIE-LCHlch(52.59, 54.42, 334.22°)
OKLaboklab(61.13% 0.1423 -0.064)
OKLCHoklch(61.13% 0.156 335.8)
XYZxyz(31.1249, 20.6693, 38.9020)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AA7 #5ABB6E
analogous
#9F5ABB #BB5AA7 #BB5A77
triadic
#BB5AA7 #A7BB5A #5AA7BB
tetradic
#BB5AA7 #BB9F5A #5ABB6E #5A77BB
square
#BB5AA7 #BB9F5A #5ABB6E #5A77BB
split-complementary
#BB5AA7 #77BB5A #5ABB9F
monochromatic
#6D2D60 #993F86 #BB5AA7 #CD85BE #DFB1D5

Accessibility & contrast

On white

4.09
#BB5AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BB5AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AA7#FFFFFF#000000##000000
##BB5AA71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#C35F79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb5aa7;
/* rgb */ color: rgb(187, 90, 167);
/* oklch */ color: oklch(61.1% 0.156 335.8);
Tailwind
colors: {
  custom: {
    50: '#d28cc1',
    500: '#bb5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aa7;
$custom-light: #d28cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aa7",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 312.371,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.15599,
    "h": 335.8
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#BB5AA7
secondary
#A4CDAC
accent
#D17056
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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