#BB4098#BB4098

#BB4098 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.184 H 340.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB4098
RGBrgb(187, 64, 152)
HSLhsl(317, 49%, 49%)
HSVhsv(317, 66%, 73%)
CMYKcmyk(0%, 65.8%, 18.7%, 26.7%)
CIE-LABlab(47.63, 58.43, -22.45)
CIE-LCHlch(47.63, 62.59, 338.98°)
OKLaboklab(57.27% 0.1741 -0.0603)
OKLCHoklch(57.27% 0.184 340.9)
XYZxyz(27.9951, 16.5012, 31.4103)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4098 #40BB63
analogous
#A140BB #BB4098 #BB405B
triadic
#BB4098 #98BB40 #4098BB
tetradic
#BB4098 #BBA140 #40BB63 #405BBB
square
#BB4098 #BBA140 #40BB63 #405BBB
split-complementary
#BB4098 #5BBB40 #40BBA1
monochromatic
#60214E #8D3073 #BB4098 #CD6CB1 #DC99C9

Accessibility & contrast

On white

4.88
#BB4098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BB4098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB4098
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4098#FFFFFF#000000##FFFFFF
##BB40981.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48649B
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#C64266
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb4098;
/* rgb */ color: rgb(187, 64, 152);
/* oklch */ color: oklch(57.3% 0.184 340.9);
Tailwind
colors: {
  custom: {
    50: '#d37db6',
    500: '#bb4098',
    950: '#000000',
  },
}
SCSS
$custom: #bb4098;
$custom-light: #d37db6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4098",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 317.073,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.18425,
    "h": 340.9
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#BB4098
secondary
#8FC89F
accent
#D9764F
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB4098

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

Preview Lab → · Contrast checker → · Palette generator →

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