#BB2257#BB2257

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

Color values

HEX#BB2257
RGBrgb(187, 34, 87)
HSLhsl(339, 69%, 43%)
HSVhsv(339, 82%, 73%)
CMYKcmyk(0%, 81.8%, 53.5%, 26.7%)
CIE-LABlab(41.85, 61.28, 8.88)
CIE-LCHlch(41.85, 61.92, 8.24°)
OKLaboklab(52.31% 0.187 0.0229)
OKLCHoklch(52.31% 0.188 7)
XYZxyz(22.7880, 12.4003, 10.2085)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2257 #22BB86
analogous
#BB22A3 #BB2257 #BB3A22
triadic
#BB2257 #57BB22 #2257BB
tetradic
#BB2257 #A3BB22 #22BB86 #3A22BB
square
#BB2257 #A3BB22 #22BB86 #3A22BB
split-complementary
#BB2257 #22BB3A #22A3BB
monochromatic
#530F27 #87193F #BB2257 #DC3E75 #E5729A

Accessibility & contrast

On white

6.04
#BB2257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#BB2257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2257
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2257#FFFFFF#000000##FFFFFF
##BB22571.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb2257;
/* rgb */ color: rgb(187, 34, 87);
/* oklch */ color: oklch(52.3% 0.188 7.0);
Tailwind
colors: {
  custom: {
    50: '#d66f86',
    500: '#bb2257',
    950: '#000000',
  },
}
SCSS
$custom: #bb2257;
$custom-light: #d66f86;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2257",
  "rgb": {
    "r": 187,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 339.216,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.18841,
    "h": 7
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#BB2257
secondary
#6DCCAB
accent
#ECAF3C
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BB2257

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

Preview Lab → · Contrast checker → · Palette generator →

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