#BB2058#BB2058

#BB2058 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.190 H 6.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BB2058
RGBrgb(187, 32, 88)
HSLhsl(338, 71%, 43%)
HSVhsv(338, 83%, 73%)
CMYKcmyk(0%, 82.9%, 52.9%, 26.7%)
CIE-LABlab(41.70, 61.85, 8.04)
CIE-LCHlch(41.70, 62.37, 7.40°)
OKLaboklab(52.21% 0.189 0.0208)
OKLCHoklch(52.21% 0.19 6.3)
XYZxyz(22.7736, 12.3057, 10.4067)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2058 #20BB83
analogous
#BB20A5 #BB2058 #BB3620
triadic
#BB2058 #58BB20 #2058BB
tetradic
#BB2058 #A5BB20 #20BB83 #3620BB
square
#BB2058 #A5BB20 #20BB83 #3620BB
split-complementary
#BB2058 #20BB36 #20A5BB
monochromatic
#520E27 #87173F #BB2058 #DD3B76 #E66F9A

Accessibility & contrast

On white

6.07
#BB2058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#BB2058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2058
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2058#FFFFFF#000000##FFFFFF
##BB20581.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#736D54
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #bb2058;
/* rgb */ color: rgb(187, 32, 88);
/* oklch */ color: oklch(52.2% 0.190 6.3);
Tailwind
colors: {
  custom: {
    50: '#d66e86',
    500: '#bb2058',
    950: '#000000',
  },
}
SCSS
$custom: #bb2058;
$custom-light: #d66e86;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2058",
  "rgb": {
    "r": 187,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 338.323,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.19013,
    "h": 6.3
  },
  "luminance": 0.12302
}

Semantic roles & 50–950 ramp

primary
#BB2058
secondary
#6ACDA9
accent
#EEAD3A
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BB2058

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

Preview Lab → · Contrast checker → · Palette generator →

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