#BB5F97#BB5F97

#BB5F97 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.2% C 0.136 H 344.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB5F97
RGBrgb(187, 95, 151)
HSLhsl(323, 40%, 55%)
HSVhsv(323, 49%, 73%)
CMYKcmyk(0%, 49.2%, 19.3%, 26.7%)
CIE-LABlab(52.93, 43.95, -13.75)
CIE-LCHlch(52.93, 46.05, 342.63°)
OKLaboklab(61.19% 0.1308 -0.0364)
OKLCHoklch(61.19% 0.136 344.4)
XYZxyz(30.1722, 20.9859, 31.7337)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F97 #5FBB83
analogous
#B15FBB #BB5F97 #BB5F69
triadic
#BB5F97 #97BB5F #5F97BB
tetradic
#BB5F97 #BBB15F #5FBB83 #5F69BB
square
#BB5F97 #BBB15F #5FBB83 #5F69BB
split-complementary
#BB5F97 #69BB5F #5FBBB1
monochromatic
#703057 #9B4278 #BB5F97 #CD8AB3 #E0B5CF

Accessibility & contrast

On white

4.04
#BB5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5F97
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5F97#FFFFFF#000000##000000
##BB5F971.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#7F8495
Tritanopia (blue-blind)
#C55F74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb5f97;
/* rgb */ color: rgb(187, 95, 151);
/* oklch */ color: oklch(61.2% 0.136 344.4);
Tailwind
colors: {
  custom: {
    50: '#d28fb5',
    500: '#bb5f97',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f97;
$custom-light: #d28fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f97",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 323.478,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.13578,
    "h": 344.4
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#BB5F97
secondary
#A8CEB7
accent
#D08758
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D11
muted
#837E80

Preview Lab

Preview with #BB5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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