#BB5AA8#BB5AA8

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

Color values

HEX#BB5AA8
RGBrgb(187, 90, 168)
HSLhsl(312, 42%, 54%)
HSVhsv(312, 52%, 73%)
CMYKcmyk(0%, 51.9%, 10.2%, 26.7%)
CIE-LABlab(52.63, 49.17, -24.19)
CIE-LCHlch(52.63, 54.80, 333.81°)
OKLaboklab(61.17% 0.1425 -0.0655)
OKLCHoklch(61.17% 0.157 335.3)
XYZxyz(31.2177, 20.7064, 39.3907)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AA8 #5ABB6D
analogous
#9E5ABB #BB5AA8 #BB5A78
triadic
#BB5AA8 #A8BB5A #5AA8BB
tetradic
#BB5AA8 #BB9E5A #5ABB6D #5A78BB
square
#BB5AA8 #BB9E5A #5ABB6D #5A78BB
split-complementary
#BB5AA8 #78BB5A #5ABB9E
monochromatic
#6D2D61 #993F87 #BB5AA8 #CD85BF #DFB1D6

Accessibility & contrast

On white

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

On black

5.14
#BB5AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AA8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AA8#FFFFFF#000000##000000
##BB5AA81.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#C35F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5aa8;
/* rgb */ color: rgb(187, 90, 168);
/* oklch */ color: oklch(61.2% 0.157 335.3);
Tailwind
colors: {
  custom: {
    50: '#d28cc2',
    500: '#bb5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aa8;
$custom-light: #d28cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aa8",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 311.753,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.15679,
    "h": 335.3
  },
  "luminance": 0.20704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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