#BB5AA2#BB5AA2

#BB5AA2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.9% C 0.152 H 338.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB5AA2
RGBrgb(187, 90, 162)
HSLhsl(315, 42%, 54%)
HSVhsv(315, 52%, 73%)
CMYKcmyk(0%, 51.9%, 13.4%, 26.7%)
CIE-LABlab(52.38, 48.19, -21.05)
CIE-LCHlch(52.38, 52.59, 336.41°)
OKLaboklab(60.92% 0.1411 -0.0566)
OKLCHoklch(60.92% 0.152 338.1)
XYZxyz(30.6716, 20.4880, 36.5145)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5AA2 #5ABB73
analogous
#A45ABB #BB5AA2 #BB5A72
triadic
#BB5AA2 #A2BB5A #5AA2BB
tetradic
#BB5AA2 #BBA45A #5ABB73 #5A72BB
square
#BB5AA2 #BBA45A #5ABB73 #5A72BB
split-complementary
#BB5AA2 #72BB5A #5ABBA4
monochromatic
#6D2D5D #993F82 #BB5AA2 #CD85BA #DFB1D3

Accessibility & contrast

On white

4.12
#BB5AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB5AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5AA2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5AA2#FFFFFF#000000##000000
##BB5AA21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#C45D77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb5aa2;
/* rgb */ color: rgb(187, 90, 162);
/* oklch */ color: oklch(60.9% 0.152 338.1);
Tailwind
colors: {
  custom: {
    50: '#d28cbd',
    500: '#bb5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5aa2;
$custom-light: #d28cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5aa2",
  "rgb": {
    "r": 187,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 315.464,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60915,
    "c": 0.15208,
    "h": 338.1
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#BB5AA2
secondary
#A4CDAE
accent
#D17656
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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