#BB5FA8#BB5FA8

#BB5FA8 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 61.9% C 0.148 H 335.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BB5FA8
RGBrgb(187, 95, 168)
HSLhsl(312, 40%, 55%)
HSVhsv(312, 49%, 73%)
CMYKcmyk(0%, 49.2%, 10.2%, 26.7%)
CIE-LABlab(53.58, 46.68, -22.72)
CIE-LCHlch(53.58, 51.91, 334.04°)
OKLaboklab(61.88% 0.1352 -0.0614)
OKLCHoklch(61.88% 0.148 335.6)
XYZxyz(31.6537, 21.5785, 39.5360)
Luminance0.2158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA8 #5FBB72
analogous
#A05FBB #BB5FA8 #BB5F7A
triadic
#BB5FA8 #A8BB5F #5FA8BB
tetradic
#BB5FA8 #BBA05F #5FBB72 #5F7ABB
square
#BB5FA8 #BBA05F #5FBB72 #5F7ABB
split-complementary
#BB5FA8 #7ABB5F #5FBBA0
monochromatic
#703063 #9B4289 #BB5FA8 #CD8ABF #E0B5D7

Accessibility & contrast

On white

3.95
#BB5FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BB5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA8#FFFFFF#000000##000000
##BB5FA81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077AA
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#C3637C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5fa8;
/* rgb */ color: rgb(187, 95, 168);
/* oklch */ color: oklch(61.9% 0.148 335.6);
Tailwind
colors: {
  custom: {
    50: '#d190c2',
    500: '#bb5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa8;
$custom-light: #d190c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa8",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 312.391,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.14848,
    "h": 335.6
  },
  "luminance": 0.21576
}

Semantic roles & 50–950 ramp

primary
#BB5FA8
secondary
#A8CEB0
accent
#D07058
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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