#BB5F7E#BB5F7E

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

Color values

HEX#BB5F7E
RGBrgb(187, 95, 126)
HSLhsl(340, 40%, 55%)
HSVhsv(340, 49%, 73%)
CMYKcmyk(0%, 49.2%, 32.6%, 26.7%)
CIE-LABlab(52.13, 40.43, -0.17)
CIE-LCHlch(52.13, 40.43, 359.76°)
OKLaboklab(60.32% 0.1227 0.0001)
OKLCHoklch(60.32% 0.123 0)
XYZxyz(28.3528, 20.2581, 22.1516)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5F7E #5FBB9C
analogous
#BB5FAC #BB5F7E #BB6E5F
triadic
#BB5F7E #7EBB5F #5F7EBB
tetradic
#BB5F7E #ACBB5F #5FBB9C #6E5FBB
square
#BB5F7E #ACBB5F #5FBB9C #6E5FBB
split-complementary
#BB5F7E #5FBB6E #5FACBB
monochromatic
#703045 #9B4260 #BB5F7E #CD8AA1 #E0B5C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5F7E#FFFFFF#000000##000000
##BB5F7E1.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)
#6D727F
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#C8586A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb5f7e;
/* rgb */ color: rgb(187, 95, 126);
/* oklch */ color: oklch(60.3% 0.123 0.0);
Tailwind
colors: {
  custom: {
    50: '#d28fa3',
    500: '#bb5f7e',
    950: '#000000',
  },
}
SCSS
$custom: #bb5f7e;
$custom-light: #d28fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5f7e",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 126
  },
  "hsl": {
    "h": 339.783,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60318,
    "c": 0.12272,
    "h": 0
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#BB5F7E
secondary
#A8CEC1
accent
#D0A858
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140D0F
muted
#837D7F

Preview Lab

Preview with #BB5F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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