#BB5F87#BB5F87

#BB5F87 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 60.6% C 0.127 H 354.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB5F87
RGBrgb(187, 95, 135)
HSLhsl(334, 40%, 55%)
HSVhsv(334, 49%, 73%)
CMYKcmyk(0%, 49.2%, 27.8%, 26.7%)
CIE-LABlab(52.40, 41.63, -5.11)
CIE-LCHlch(52.40, 41.94, 353.01°)
OKLaboklab(60.61% 0.1258 -0.013)
OKLCHoklch(60.61% 0.127 354.1)
XYZxyz(28.9599, 20.5010, 25.3488)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F87 #5FBB93
analogous
#BB5FB5 #BB5F87 #BB655F
triadic
#BB5F87 #87BB5F #5F87BB
tetradic
#BB5F87 #B5BB5F #5FBB93 #655FBB
square
#BB5F87 #B5BB5F #5FBB93 #655FBB
split-complementary
#BB5F87 #5FBB65 #5FB5BB
monochromatic
#70304C #9B4269 #BB5F87 #CD8AA7 #E0B5C7

Accessibility & contrast

On white

4.12
#BB5F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB5F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5F87
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5F87#FFFFFF#000000##000000
##BB5F871.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#838385
Tritanopia (blue-blind)
#C75A6E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb5f87;
/* rgb */ color: rgb(187, 95, 135);
/* oklch */ color: oklch(60.6% 0.127 354.1);
Tailwind
colors: {
  custom: {
    50: '#d28fa9',
    500: '#bb5f87',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f87;
$custom-light: #d28fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f87",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 333.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60611,
    "c": 0.12651,
    "h": 354.1
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#BB5F87
secondary
#A8CEBD
accent
#D09C58
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140D10
muted
#837D7F

Preview Lab

Preview with #BB5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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