#BB286C#BB286C

#BB286C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.189 H 358.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BB286C
RGBrgb(187, 40, 108)
HSLhsl(332, 65%, 45%)
HSVhsv(332, 79%, 73%)
CMYKcmyk(0%, 78.6%, 42.2%, 26.7%)
CIE-LABlab(43.02, 61.48, -2.60)
CIE-LCHlch(43.02, 61.54, 357.58°)
OKLaboklab(53.36% 0.1891 -0.0061)
OKLCHoklch(53.36% 0.189 358.2)
XYZxyz(23.9609, 13.1682, 15.4644)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB286C #28BB77
analogous
#BB28B6 #BB286C #BB2E28
triadic
#BB286C #6CBB28 #286CBB
tetradic
#BB286C #B6BB28 #28BB77 #2E28BB
square
#BB286C #B6BB28 #28BB77 #2E28BB
split-complementary
#BB286C #28BB2E #28B6BB
monochromatic
#561232 #891D4F #BB286C #D8488B #E37BAB

Accessibility & contrast

On white

5.78
#BB286C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB286C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB286C#FFFFFF#000000##FFFFFF
##BB286C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546E
Deuteranopia (green-blind)
#717069
Tritanopia (blue-blind)
#CB0A47
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bb286c;
/* rgb */ color: rgb(187, 40, 108);
/* oklch */ color: oklch(53.4% 0.189 358.2);
Tailwind
colors: {
  custom: {
    50: '#d57196',
    500: '#bb286c',
    950: '#000000',
  },
}
SCSS
$custom: #bb286c;
$custom-light: #d57196;
$custom-dark: #000000;
JSON
{
  "hex": "#bb286c",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 332.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.18917,
    "h": 358.2
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB286C

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

Preview Lab → · Contrast checker → · Palette generator →

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