#BB5BA2#BB5BA2

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

Color values

HEX#BB5BA2
RGBrgb(187, 91, 162)
HSLhsl(316, 41%, 55%)
HSVhsv(316, 51%, 73%)
CMYKcmyk(0%, 51.3%, 13.4%, 26.7%)
CIE-LABlab(52.57, 47.70, -20.76)
CIE-LCHlch(52.57, 52.02, 336.48°)
OKLaboklab(61.06% 0.1397 -0.0558)
OKLCHoklch(61.06% 0.15 338.2)
XYZxyz(30.7565, 20.6578, 36.5428)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BA2 #5BBB74
analogous
#A45BBB #BB5BA2 #BB5B72
triadic
#BB5BA2 #A2BB5B #5BA2BB
tetradic
#BB5BA2 #BBA45B #5BBB74 #5B72BB
square
#BB5BA2 #BBA45B #5BBB74 #5B72BB
split-complementary
#BB5BA2 #72BB5B #5BBBA4
monochromatic
#6E2E5D #994082 #BB5BA2 #CD86BB #DFB2D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5BA2#FFFFFF#000000##000000
##BB5BA21.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)
#5E74A4
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#C45E77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb5ba2;
/* rgb */ color: rgb(187, 91, 162);
/* oklch */ color: oklch(61.1% 0.150 338.2);
Tailwind
colors: {
  custom: {
    50: '#d28dbd',
    500: '#bb5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ba2;
$custom-light: #d28dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ba2",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 315.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.15042,
    "h": 338.2
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#BB5BA2
secondary
#A5CDAF
accent
#D17757
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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