#BB4BA7#BB4BA7

#BB4BA7 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.2% C 0.179 H 335.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB4BA7
RGBrgb(187, 75, 167)
HSLhsl(311, 45%, 51%)
HSVhsv(311, 60%, 73%)
CMYKcmyk(0%, 59.9%, 10.7%, 26.7%)
CIE-LABlab(49.96, 56.04, -27.72)
CIE-LCHlch(49.96, 62.52, 333.68°)
OKLaboklab(59.2% 0.1629 -0.0753)
OKLCHoklch(59.2% 0.179 335.2)
XYZxyz(29.9849, 18.3893, 38.5219)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4BA7 #4BBB5F
analogous
#974BBB #BB4BA7 #BB4B6F
triadic
#BB4BA7 #A7BB4B #4BA7BB
tetradic
#BB4BA7 #BB974B #4BBB5F #4B6FBB
square
#BB4BA7 #BB974B #4BBB5F #4B6FBB
split-complementary
#BB4BA7 #6FBB4B #4BBB97
monochromatic
#65265A #923782 #BB4BA7 #CC77BD #DDA4D2

Accessibility & contrast

On white

4.49
#BB4BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BB4BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4BA7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4BA7#FFFFFF#000000##000000
##BB4BA71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6CAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#C45272
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb4ba7;
/* rgb */ color: rgb(187, 75, 167);
/* oklch */ color: oklch(59.2% 0.179 335.2);
Tailwind
colors: {
  custom: {
    50: '#d284c1',
    500: '#bb4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ba7;
$custom-light: #d284c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ba7",
  "rgb": {
    "r": 187,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 310.714,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59197,
    "c": 0.17946,
    "h": 335.2
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#BB4BA7
secondary
#98CAA1
accent
#D56A53
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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