#BB517A#BB517A

#BB517A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.2% C 0.143 H 358.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BB517A
RGBrgb(187, 81, 122)
HSLhsl(337, 44%, 53%)
HSVhsv(337, 57%, 73%)
CMYKcmyk(0%, 56.7%, 34.8%, 26.7%)
CIE-LABlab(49.32, 46.92, -1.88)
CIE-LCHlch(49.32, 46.96, 357.70°)
OKLaboklab(58.17% 0.1429 -0.0043)
OKLCHoklch(58.17% 0.143 358.3)
XYZxyz(26.9502, 17.8575, 20.4361)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB517A #51BB92
analogous
#BB51AF #BB517A #BB5D51
triadic
#BB517A #7ABB51 #517ABB
tetradic
#BB517A #AFBB51 #51BB92 #5D51BB
square
#BB517A #AFBB51 #51BB92 #5D51BB
split-complementary
#BB517A #51BB5D #51AFBB
monochromatic
#692942 #953A5D #BB517A #CC7D9C #DDA9BD

Accessibility & contrast

On white

4.59
#BB517A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BB517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB517A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB517A#FFFFFF#000000##FFFFFF
##BB517A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#7E7D78
Tritanopia (blue-blind)
#C94961
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb517a;
/* rgb */ color: rgb(187, 81, 122);
/* oklch */ color: oklch(58.2% 0.143 358.3);
Tailwind
colors: {
  custom: {
    50: '#d386a0',
    500: '#bb517a',
    950: '#000000',
  },
}
SCSS
$custom: #bb517a;
$custom-light: #d386a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb517a",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 336.792,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.14295,
    "h": 358.3
  },
  "luminance": 0.17855
}

Semantic roles & 50–950 ramp

primary
#BB517A
secondary
#9DCBB9
accent
#D4A254
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB517A

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

Preview Lab → · Contrast checker → · Palette generator →

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