#BB5F9E#BB5F9E

#BB5F9E is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.5% C 0.141 H 340.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB5F9E
RGBrgb(187, 95, 158)
HSLhsl(319, 40%, 55%)
HSVhsv(319, 49%, 73%)
CMYKcmyk(0%, 49.2%, 15.5%, 26.7%)
CIE-LABlab(53.19, 45.04, -17.47)
CIE-LCHlch(53.19, 48.31, 338.80°)
OKLaboklab(61.46% 0.1327 -0.0467)
OKLCHoklch(61.46% 0.141 340.6)
XYZxyz(30.7577, 21.2201, 34.8170)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F9E #5FBB7C
analogous
#AA5FBB #BB5F9E #BB5F70
triadic
#BB5F9E #9EBB5F #5F9EBB
tetradic
#BB5F9E #BBAA5F #5FBB7C #5F70BB
square
#BB5F9E #BBAA5F #5FBB7C #5F70BB
split-complementary
#BB5F9E #70BB5F #5FBBAA
monochromatic
#70305C #9B427F #BB5F9E #CD8AB8 #E0B5D2

Accessibility & contrast

On white

4.00
#BB5F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB5F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5F9E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5F9E#FFFFFF#000000##000000
##BB5F9E1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6376A0
Deuteranopia (green-blind)
#7C849C
Tritanopia (blue-blind)
#C46077
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5f9e;
/* rgb */ color: rgb(187, 95, 158);
/* oklch */ color: oklch(61.5% 0.141 340.6);
Tailwind
colors: {
  custom: {
    50: '#d18fba',
    500: '#bb5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f9e;
$custom-light: #d18fba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f9e",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 318.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.14071,
    "h": 340.6
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#BB5F9E
secondary
#A8CEB4
accent
#D07E58
background
#FDF9FB
surface
#FAF1F6
border
#D3CBD0
text
#140D11
muted
#837E80

Preview Lab

Preview with #BB5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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