#BB5FA9#BB5FA9

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

Color values

HEX#BB5FA9
RGBrgb(187, 95, 169)
HSLhsl(312, 40%, 55%)
HSVhsv(312, 49%, 73%)
CMYKcmyk(0%, 49.2%, 9.6%, 26.7%)
CIE-LABlab(53.62, 46.84, -23.24)
CIE-LCHlch(53.62, 52.29, 333.61°)
OKLaboklab(61.92% 0.1354 -0.0628)
OKLCHoklch(61.92% 0.149 335.1)
XYZxyz(31.7472, 21.6159, 40.0286)
Luminance0.2161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA9 #5FBB71
analogous
#9F5FBB #BB5FA9 #BB5F7B
triadic
#BB5FA9 #A9BB5F #5FA9BB
tetradic
#BB5FA9 #BB9F5F #5FBB71 #5F7BBB
square
#BB5FA9 #BB9F5F #5FBB71 #5F7BBB
split-complementary
#BB5FA9 #7BBB5F #5FBB9F
monochromatic
#703063 #9B428A #BB5FA9 #CD8AC0 #E0B5D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5FA9#FFFFFF#000000##000000
##BB5FA91.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)
#5F78AC
Deuteranopia (green-blind)
#7985A6
Tritanopia (blue-blind)
#C3647C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5fa9;
/* rgb */ color: rgb(187, 95, 169);
/* oklch */ color: oklch(61.9% 0.149 335.1);
Tailwind
colors: {
  custom: {
    50: '#d190c2',
    500: '#bb5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa9;
$custom-light: #d190c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa9",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 311.739,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.14929,
    "h": 335.1
  },
  "luminance": 0.21614
}

Semantic roles & 50–950 ramp

primary
#BB5FA9
secondary
#A8CEAF
accent
#D06F58
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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