#BB2162#BB2162

#BB2162 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.192 H 1.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BB2162
RGBrgb(187, 33, 98)
HSLhsl(335, 70%, 43%)
HSVhsv(335, 82%, 73%)
CMYKcmyk(0%, 82.4%, 47.6%, 26.7%)
CIE-LABlab(42.06, 62.43, 2.26)
CIE-LCHlch(42.06, 62.47, 2.07°)
OKLaboklab(52.56% 0.1918 0.0065)
OKLCHoklch(52.56% 0.192 1.9)
XYZxyz(23.2440, 12.5376, 12.7489)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2162 #21BB7A
analogous
#BB21AF #BB2162 #BB2D21
triadic
#BB2162 #62BB21 #2162BB
tetradic
#BB2162 #AFBB21 #21BB7A #2D21BB
square
#BB2162 #AFBB21 #21BB7A #2D21BB
split-complementary
#BB2162 #21BB2D #21AFBB
monochromatic
#530F2B #871847 #BB2162 #DD3D80 #E671A2

Accessibility & contrast

On white

5.99
#BB2162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#BB2162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2162
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2162#FFFFFF#000000##FFFFFF
##BB21621.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#726E5E
Tritanopia (blue-blind)
#CC003F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #bb2162;
/* rgb */ color: rgb(187, 33, 98);
/* oklch */ color: oklch(52.6% 0.192 1.9);
Tailwind
colors: {
  custom: {
    50: '#d66f8e',
    500: '#bb2162',
    950: '#000000',
  },
}
SCSS
$custom: #bb2162;
$custom-light: #d66f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2162",
  "rgb": {
    "r": 187,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 334.675,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.19187,
    "h": 1.9
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#BB2162
secondary
#6BCCA3
accent
#EDA23B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #BB2162

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

Preview Lab → · Contrast checker → · Palette generator →

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