#BB2158#BB2158

#BB2158 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.189 H 6.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BB2158
RGBrgb(187, 33, 88)
HSLhsl(339, 70%, 43%)
HSVhsv(339, 82%, 73%)
CMYKcmyk(0%, 82.4%, 52.9%, 26.7%)
CIE-LABlab(41.78, 61.61, 8.16)
CIE-LCHlch(41.78, 62.15, 7.54°)
OKLaboklab(52.27% 0.1882 0.0211)
OKLCHoklch(52.27% 0.189 6.4)
XYZxyz(22.8010, 12.3604, 10.4158)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2158 #21BB84
analogous
#BB21A5 #BB2158 #BB3721
triadic
#BB2158 #58BB21 #2158BB
tetradic
#BB2158 #A5BB21 #21BB84 #3721BB
square
#BB2158 #A5BB21 #21BB84 #3721BB
split-complementary
#BB2158 #21BB37 #21A5BB
monochromatic
#530F27 #871840 #BB2158 #DD3D76 #E6719A

Accessibility & contrast

On white

6.05
#BB2158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#BB2158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2158
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2158#FFFFFF#000000##FFFFFF
##BB21581.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4F59
Deuteranopia (green-blind)
#746D54
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #bb2158;
/* rgb */ color: rgb(187, 33, 88);
/* oklch */ color: oklch(52.3% 0.189 6.4);
Tailwind
colors: {
  custom: {
    50: '#d66e86',
    500: '#bb2158',
    950: '#000000',
  },
}
SCSS
$custom: #bb2158;
$custom-light: #d66e86;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2158",
  "rgb": {
    "r": 187,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 338.571,
    "s": 70,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.18938,
    "h": 6.4
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#BB2158
secondary
#6BCCAA
accent
#EDAD3B
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BB2158

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

Preview Lab → · Contrast checker → · Palette generator →

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