#BB5F7D#BB5F7D

#BB5F7D is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.3% C 0.122 H 0.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB5F7D
RGBrgb(187, 95, 125)
HSLhsl(340, 40%, 55%)
HSVhsv(340, 49%, 73%)
CMYKcmyk(0%, 49.2%, 33.2%, 26.7%)
CIE-LABlab(52.10, 40.30, 0.39)
CIE-LCHlch(52.10, 40.30, 0.55°)
OKLaboklab(60.29% 0.1224 0.0015)
OKLCHoklch(60.29% 0.122 0.7)
XYZxyz(28.2886, 20.2324, 21.8135)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F7D #5FBB9D
analogous
#BB5FAB #BB5F7D #BB6F5F
triadic
#BB5F7D #7DBB5F #5F7DBB
tetradic
#BB5F7D #ABBB5F #5FBB9D #6F5FBB
square
#BB5F7D #ABBB5F #5FBB9D #6F5FBB
split-complementary
#BB5F7D #5FBB6F #5FABBB
monochromatic
#703045 #9B425F #BB5F7D #CD8AA0 #E0B5C3

Accessibility & contrast

On white

4.16
#BB5F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BB5F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5F7D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5F7D#FFFFFF#000000##000000
##BB5F7D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D727E
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#C8586A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb5f7d;
/* rgb */ color: rgb(187, 95, 125);
/* oklch */ color: oklch(60.3% 0.122 0.7);
Tailwind
colors: {
  custom: {
    50: '#d28fa2',
    500: '#bb5f7d',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f7d;
$custom-light: #d28fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f7d",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 340.435,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.12237,
    "h": 0.7
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#BB5F7D
secondary
#A8CEC2
accent
#D0A958
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140D0F
muted
#837D7E

Preview Lab

Preview with #BB5F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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