#BB5FA1#BB5FA1

#BB5FA1 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.6% C 0.143 H 339.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BB5FA1
RGBrgb(187, 95, 161)
HSLhsl(317, 40%, 55%)
HSVhsv(317, 49%, 73%)
CMYKcmyk(0%, 49.2%, 13.9%, 26.7%)
CIE-LABlab(53.30, 45.52, -19.06)
CIE-LCHlch(53.30, 49.35, 337.29°)
OKLaboklab(61.59% 0.1335 -0.0511)
OKLCHoklch(61.59% 0.143 339.1)
XYZxyz(31.0190, 21.3246, 36.1936)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA1 #5FBB79
analogous
#A75FBB #BB5FA1 #BB5F73
triadic
#BB5FA1 #A1BB5F #5FA1BB
tetradic
#BB5FA1 #BBA75F #5FBB79 #5F73BB
square
#BB5FA1 #BBA75F #5FBB79 #5F73BB
split-complementary
#BB5FA1 #73BB5F #5FBBA7
monochromatic
#70305E #9B4282 #BB5FA1 #CD8ABA #E0B5D3

Accessibility & contrast

On white

3.99
#BB5FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BB5FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA1#FFFFFF#000000##000000
##BB5FA11.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6276A3
Deuteranopia (green-blind)
#7B859F
Tritanopia (blue-blind)
#C46179
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5fa1;
/* rgb */ color: rgb(187, 95, 161);
/* oklch */ color: oklch(61.6% 0.143 339.1);
Tailwind
colors: {
  custom: {
    50: '#d18fbd',
    500: '#bb5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa1;
$custom-light: #d18fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa1",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 316.957,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.14296,
    "h": 339.1
  },
  "luminance": 0.21322
}

Semantic roles & 50–950 ramp

primary
#BB5FA1
secondary
#A8CEB3
accent
#D07A58
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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