#BB3E98#BB3E98

#BB3E98 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.1% C 0.187 H 340.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BB3E98
RGBrgb(187, 62, 152)
HSLhsl(317, 50%, 49%)
HSVhsv(317, 67%, 73%)
CMYKcmyk(0%, 66.8%, 18.7%, 26.7%)
CIE-LABlab(47.34, 59.22, -22.89)
CIE-LCHlch(47.34, 63.49, 338.87°)
OKLaboklab(57.06% 0.1765 -0.0616)
OKLCHoklch(57.06% 0.187 340.8)
XYZxyz(27.8844, 16.2797, 31.3734)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3E98 #3EBB61
analogous
#A03EBB #BB3E98 #BB3E5A
triadic
#BB3E98 #98BB3E #3E98BB
tetradic
#BB3E98 #BBA03E #3EBB61 #3E5ABB
square
#BB3E98 #BBA03E #3EBB61 #3E5ABB
split-complementary
#BB3E98 #5ABB3E #3EBBA0
monochromatic
#5F204D #8D2F73 #BB3E98 #CD69B1 #DC97C9

Accessibility & contrast

On white

4.93
#BB3E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BB3E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3E98
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3E98#FFFFFF#000000##FFFFFF
##BB3E981.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639B
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#C64165
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb3e98;
/* rgb */ color: rgb(187, 62, 152);
/* oklch */ color: oklch(57.1% 0.187 340.8);
Tailwind
colors: {
  custom: {
    50: '#d37cb6',
    500: '#bb3e98',
    950: '#000000',
  },
}
SCSS
$custom: #bb3e98;
$custom-light: #d37cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3e98",
  "rgb": {
    "r": 187,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 316.8,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.18692,
    "h": 340.8
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#BB3E98
secondary
#8DC89D
accent
#DA754E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BB3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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