#BB5172#BB5172

#BB5172 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.9% C 0.140 H 3.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB5172
RGBrgb(187, 81, 114)
HSLhsl(341, 44%, 53%)
HSVhsv(341, 57%, 73%)
CMYKcmyk(0%, 56.7%, 39%, 26.7%)
CIE-LABlab(49.09, 45.98, 2.60)
CIE-LCHlch(49.09, 46.05, 3.23°)
OKLaboklab(57.92% 0.1401 0.0073)
OKLCHoklch(57.92% 0.14 3)
XYZxyz(26.4748, 17.6674, 17.9322)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5172 #51BB9A
analogous
#BB51A7 #BB5172 #BB6551
triadic
#BB5172 #72BB51 #5172BB
tetradic
#BB5172 #A7BB51 #51BB9A #6551BB
square
#BB5172 #A7BB51 #51BB9A #6551BB
split-complementary
#BB5172 #51BB65 #51A7BB
monochromatic
#69293D #953A56 #BB5172 #CC7D96 #DDA9B9

Accessibility & contrast

On white

4.63
#BB5172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BB5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB5172
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5172#FFFFFF#000000##FFFFFF
##BB51721.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646873
Deuteranopia (green-blind)
#807C70
Tritanopia (blue-blind)
#CA475D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb5172;
/* rgb */ color: rgb(187, 81, 114);
/* oklch */ color: oklch(57.9% 0.140 3.0);
Tailwind
colors: {
  custom: {
    50: '#d3869a',
    500: '#bb5172',
    950: '#000000',
  },
}
SCSS
$custom: #bb5172;
$custom-light: #d3869a;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5172",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 341.321,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.14025,
    "h": 3
  },
  "luminance": 0.17665
}

Semantic roles & 50–950 ramp

primary
#BB5172
secondary
#9DCBBD
accent
#D4AC54
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #BB5172

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

Preview Lab → · Contrast checker → · Palette generator →

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