#BB4FA8#BB4FA8

#BB4FA8 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.174 H 334.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB4FA8
RGBrgb(187, 79, 168)
HSLhsl(311, 44%, 52%)
HSVhsv(311, 58%, 73%)
CMYKcmyk(0%, 57.8%, 10.2%, 26.7%)
CIE-LABlab(50.67, 54.40, -27.21)
CIE-LCHlch(50.67, 60.83, 333.43°)
OKLaboklab(59.73% 0.1578 -0.0739)
OKLCHoklch(59.73% 0.174 334.9)
XYZxyz(30.3576, 18.9862, 39.1040)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FA8 #4FBB62
analogous
#984FBB #BB4FA8 #BB4F72
triadic
#BB4FA8 #A8BB4F #4FA8BB
tetradic
#BB4FA8 #BB984F #4FBB62 #4F72BB
square
#BB4FA8 #BB984F #4FBB62 #4F72BB
split-complementary
#BB4FA8 #72BB4F #4FBB98
monochromatic
#68285C #943984 #BB4FA8 #CC7BBE #DDA7D4

Accessibility & contrast

On white

4.38
#BB4FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FA8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FA8#FFFFFF#000000##000000
##BB4FA81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAB
Deuteranopia (green-blind)
#707EA5
Tritanopia (blue-blind)
#C35574
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb4fa8;
/* rgb */ color: rgb(187, 79, 168);
/* oklch */ color: oklch(59.7% 0.174 334.9);
Tailwind
colors: {
  custom: {
    50: '#d286c2',
    500: '#bb4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fa8;
$custom-light: #d286c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fa8",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 310.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.17423,
    "h": 334.9
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

primary
#BB4FA8
secondary
#9BCAA4
accent
#D46A54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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