#BB5CA6#BB5CA6

#BB5CA6 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.4% C 0.152 H 336.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB5CA6
RGBrgb(187, 92, 166)
HSLhsl(313, 41%, 55%)
HSVhsv(313, 51%, 73%)
CMYKcmyk(0%, 50.8%, 11.2%, 26.7%)
CIE-LABlab(52.92, 47.85, -22.56)
CIE-LCHlch(52.92, 52.90, 334.75°)
OKLaboklab(61.37% 0.1391 -0.0609)
OKLCHoklch(61.37% 0.152 336.4)
XYZxyz(31.2038, 20.9744, 38.4740)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CA6 #5CBB71
analogous
#A15CBB #BB5CA6 #BB5C77
triadic
#BB5CA6 #A6BB5C #5CA6BB
tetradic
#BB5CA6 #BBA15C #5CBB71 #5C77BB
square
#BB5CA6 #BBA15C #5CBB71 #5C77BB
split-complementary
#BB5CA6 #77BB5C #5CBBA1
monochromatic
#6F2E60 #9A4086 #BB5CA6 #CD87BE #DFB2D5

Accessibility & contrast

On white

4.04
#BB5CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BB5CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CA6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CA6#FFFFFF#000000##000000
##BB5CA61.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A8
Deuteranopia (green-blind)
#7884A3
Tritanopia (blue-blind)
#C36079
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5ca6;
/* rgb */ color: rgb(187, 92, 166);
/* oklch */ color: oklch(61.4% 0.152 336.4);
Tailwind
colors: {
  custom: {
    50: '#d28ec0',
    500: '#bb5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ca6;
$custom-light: #d28ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ca6",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 313.263,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.15189,
    "h": 336.4
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#BB5CA6
secondary
#A5CDAE
accent
#D17257
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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