#BB1F58#BB1F58

#BB1F58 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.191 H 6.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BB1F58
RGBrgb(187, 31, 88)
HSLhsl(338, 72%, 43%)
HSVhsv(338, 83%, 73%)
CMYKcmyk(0%, 83.4%, 52.9%, 26.7%)
CIE-LABlab(41.62, 62.09, 7.92)
CIE-LCHlch(41.62, 62.59, 7.27°)
OKLaboklab(52.15% 0.1898 0.0205)
OKLCHoklch(52.15% 0.191 6.2)
XYZxyz(22.7471, 12.2527, 10.3978)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB1F58 #1FBB82
analogous
#BB1FA6 #BB1F58 #BB341F
triadic
#BB1F58 #58BB1F #1F58BB
tetradic
#BB1F58 #A6BB1F #1FBB82 #341FBB
square
#BB1F58 #A6BB1F #1FBB82 #341FBB
split-complementary
#BB1F58 #1FBB34 #1FA6BB
monochromatic
#520E27 #87163F #BB1F58 #DE3975 #E76E9A

Accessibility & contrast

On white

6.09
#BB1F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#BB1F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB1F58
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB1F58#FFFFFF#000000##FFFFFF
##BB1F581.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb1f58;
/* rgb */ color: rgb(187, 31, 88);
/* oklch */ color: oklch(52.1% 0.191 6.2);
Tailwind
colors: {
  custom: {
    50: '#d66e86',
    500: '#bb1f58',
    950: '#000000',
  },
}
SCSS
$custom: #bb1f58;
$custom-light: #d66e86;
$custom-dark: #000000;
JSON
{
  "hex": "#bb1f58",
  "rgb": {
    "r": 187,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 338.077,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.19087,
    "h": 6.2
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#BB1F58
secondary
#69CDA8
accent
#EEAC3A
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #BB1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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