#BB286D#BB286D

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

Color values

HEX#BB286D
RGBrgb(187, 40, 109)
HSLhsl(332, 65%, 45%)
HSVhsv(332, 79%, 73%)
CMYKcmyk(0%, 78.6%, 41.7%, 26.7%)
CIE-LABlab(43.05, 61.58, -3.17)
CIE-LCHlch(43.05, 61.66, 357.05°)
OKLaboklab(53.4% 0.1894 -0.0076)
OKLCHoklch(53.4% 0.19 357.7)
XYZxyz(24.0144, 13.1896, 15.7463)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB286D #28BB76
analogous
#BB28B7 #BB286D #BB2D28
triadic
#BB286D #6DBB28 #286DBB
tetradic
#BB286D #B7BB28 #28BB76 #2D28BB
square
#BB286D #B7BB28 #28BB76 #2D28BB
split-complementary
#BB286D #28BB2D #28B7BB
monochromatic
#561232 #891D50 #BB286D #D8488C #E37BAC

Accessibility & contrast

On white

5.77
#BB286D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#BB286D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB286D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB286D#FFFFFF#000000##FFFFFF
##BB286D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#71706A
Tritanopia (blue-blind)
#CB0B47
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #bb286d;
/* rgb */ color: rgb(187, 40, 109);
/* oklch */ color: oklch(53.4% 0.190 357.7);
Tailwind
colors: {
  custom: {
    50: '#d57196',
    500: '#bb286d',
    950: '#000000',
  },
}
SCSS
$custom: #bb286d;
$custom-light: #d57196;
$custom-dark: #000000;
JSON
{
  "hex": "#bb286d",
  "rgb": {
    "r": 187,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 331.837,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.18953,
    "h": 357.7
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#BB286D
secondary
#74CBA2
accent
#E89940
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BB286D

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

Preview Lab → · Contrast checker → · Palette generator →

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