#BB286B#BB286B

#BB286B is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 358.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BB286B
RGBrgb(187, 40, 107)
HSLhsl(333, 65%, 45%)
HSVhsv(333, 79%, 73%)
CMYKcmyk(0%, 78.6%, 42.8%, 26.7%)
CIE-LABlab(42.98, 61.38, -2.02)
CIE-LCHlch(42.98, 61.42, 358.11°)
OKLaboklab(53.33% 0.1888 -0.0046)
OKLCHoklch(53.33% 0.189 358.6)
XYZxyz(23.9080, 13.1471, 15.1857)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB286B #28BB78
analogous
#BB28B5 #BB286B #BB2E28
triadic
#BB286B #6BBB28 #286BBB
tetradic
#BB286B #B5BB28 #28BB78 #2E28BB
square
#BB286B #B5BB28 #28BB78 #2E28BB
split-complementary
#BB286B #28BB2E #28B5BB
monochromatic
#561231 #891D4E #BB286B #D8488A #E37BAA

Accessibility & contrast

On white

5.79
#BB286B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#BB286B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB286B
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB286B#FFFFFF#000000##FFFFFF
##BB286B1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546D
Deuteranopia (green-blind)
#726F68
Tritanopia (blue-blind)
#CB0846
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb286b;
/* rgb */ color: rgb(187, 40, 107);
/* oklch */ color: oklch(53.3% 0.189 358.6);
Tailwind
colors: {
  custom: {
    50: '#d57195',
    500: '#bb286b',
    950: '#000000',
  },
}
SCSS
$custom: #bb286b;
$custom-light: #d57195;
$custom-dark: #000000;
JSON
{
  "hex": "#bb286b",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 332.653,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.18881,
    "h": 358.6
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#BB286B
secondary
#74CBA3
accent
#E89B40
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB286B

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

Preview Lab → · Contrast checker → · Palette generator →

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