#BB4F9B#BB4F9B

#BB4F9B is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.165 H 340.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB4F9B
RGBrgb(187, 79, 155)
HSLhsl(318, 44%, 52%)
HSVhsv(318, 58%, 73%)
CMYKcmyk(0%, 57.8%, 17.1%, 26.7%)
CIE-LABlab(50.13, 52.37, -20.39)
CIE-LCHlch(50.13, 56.20, 338.73°)
OKLaboklab(59.15% 0.1552 -0.0547)
OKLCHoklch(59.15% 0.165 340.6)
XYZxyz(29.2065, 18.5257, 33.0416)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4F9B #4FBB6F
analogous
#A54FBB #BB4F9B #BB4F65
triadic
#BB4F9B #9BBB4F #4F9BBB
tetradic
#BB4F9B #BBA54F #4FBB6F #4F65BB
square
#BB4F9B #BBA54F #4FBB6F #4F65BB
split-complementary
#BB4F9B #65BB4F #4FBBA5
monochromatic
#682855 #943979 #BB4F9B #CC7BB4 #DDA7CD

Accessibility & contrast

On white

4.46
#BB4F9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BB4F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4F9B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4F9B#FFFFFF#000000##000000
##BB4F9B1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#556C9D
Deuteranopia (green-blind)
#747E98
Tritanopia (blue-blind)
#C5516E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb4f9b;
/* rgb */ color: rgb(187, 79, 155);
/* oklch */ color: oklch(59.2% 0.165 340.6);
Tailwind
colors: {
  custom: {
    50: '#d286b8',
    500: '#bb4f9b',
    950: '#000000',
  },
}
SCSS
$custom: #bb4f9b;
$custom-light: #d286b8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4f9b",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 317.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.16453,
    "h": 340.6
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#BB4F9B
secondary
#9BCAA9
accent
#D47A54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BB4F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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