#BB5AA9#BB5AA9

#BB5AA9 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.2% C 0.158 H 334.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB5AA9
RGBrgb(187, 90, 169)
HSLhsl(311, 42%, 54%)
HSVhsv(311, 52%, 73%)
CMYKcmyk(0%, 51.9%, 9.6%, 26.7%)
CIE-LABlab(52.67, 49.34, -24.71)
CIE-LCHlch(52.67, 55.18, 333.40°)
OKLaboklab(61.22% 0.1427 -0.0669)
OKLCHoklch(61.22% 0.158 334.9)
XYZxyz(31.3112, 20.7438, 39.8832)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AA9 #5ABB6C
analogous
#9D5ABB #BB5AA9 #BB5A79
triadic
#BB5AA9 #A9BB5A #5AA9BB
tetradic
#BB5AA9 #BB9D5A #5ABB6C #5A79BB
square
#BB5AA9 #BB9D5A #5ABB6C #5A79BB
split-complementary
#BB5AA9 #79BB5A #5ABB9D
monochromatic
#6D2D62 #993F88 #BB5AA9 #CD85C0 #DFB1D6

Accessibility & contrast

On white

4.08
#BB5AA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BB5AA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AA9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AA9#FFFFFF#000000##000000
##BB5AA91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AC
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#C35F7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aa9;
/* rgb */ color: rgb(187, 90, 169);
/* oklch */ color: oklch(61.2% 0.158 334.9);
Tailwind
colors: {
  custom: {
    50: '#d28cc2',
    500: '#bb5aa9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aa9;
$custom-light: #d28cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aa9",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 311.134,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.1576,
    "h": 334.9
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#BB5AA9
secondary
#A4CDAB
accent
#D16D56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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