#BB5F9D#BB5F9D

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

Color values

HEX#BB5F9D
RGBrgb(187, 95, 157)
HSLhsl(320, 40%, 55%)
HSVhsv(320, 49%, 73%)
CMYKcmyk(0%, 49.2%, 16%, 26.7%)
CIE-LABlab(53.15, 44.89, -16.94)
CIE-LCHlch(53.15, 47.98, 339.32°)
OKLaboklab(61.42% 0.1325 -0.0452)
OKLCHoklch(61.42% 0.14 341.2)
XYZxyz(30.6720, 21.1858, 34.3655)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F9D #5FBB7D
analogous
#AB5FBB #BB5F9D #BB5F6F
triadic
#BB5F9D #9DBB5F #5F9DBB
tetradic
#BB5F9D #BBAB5F #5FBB7D #5F6FBB
square
#BB5F9D #BBAB5F #5FBB7D #5F6FBB
split-complementary
#BB5F9D #6FBB5F #5FBBAB
monochromatic
#70305B #9B427E #BB5F9D #CD8AB7 #E0B5D2

Accessibility & contrast

On white

4.01
#BB5F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5F9D#FFFFFF#000000##000000
##BB5F9D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#64769F
Deuteranopia (green-blind)
#7D849B
Tritanopia (blue-blind)
#C46077
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5f9d;
/* rgb */ color: rgb(187, 95, 157);
/* oklch */ color: oklch(61.4% 0.140 341.2);
Tailwind
colors: {
  custom: {
    50: '#d18fba',
    500: '#bb5f9d',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f9d;
$custom-light: #d18fba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f9d",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 319.565,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61424,
    "c": 0.13998,
    "h": 341.2
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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