#BB2F78#BB2F78

#BB2F78 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.187 H 353.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB2F78
RGBrgb(187, 47, 120)
HSLhsl(329, 60%, 46%)
HSVhsv(329, 75%, 73%)
CMYKcmyk(0%, 74.9%, 35.8%, 26.7%)
CIE-LABlab(44.17, 60.58, -8.31)
CIE-LCHlch(44.17, 61.15, 352.19°)
OKLaboklab(54.34% 0.1858 -0.0212)
OKLCHoklch(54.34% 0.187 353.5)
XYZxyz(24.9018, 13.9569, 19.1483)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F78 #2FBB72
analogous
#B82FBB #BB2F78 #BB2F32
triadic
#BB2F78 #78BB2F #2F78BB
tetradic
#BB2F78 #BBB82F #2FBB72 #2F32BB
square
#BB2F78 #BBB82F #2FBB72 #2F32BB
split-complementary
#BB2F78 #32BB2F #2FBBB8
monochromatic
#591639 #8A2359 #BB2F78 #D45396 #E084B4

Accessibility & contrast

On white

5.54
#BB2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BB2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F78
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F78#FFFFFF#000000##FFFFFF
##BB2F781.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#717275
Tritanopia (blue-blind)
#CA214F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #bb2f78;
/* rgb */ color: rgb(187, 47, 120);
/* oklch */ color: oklch(54.3% 0.187 353.5);
Tailwind
colors: {
  custom: {
    50: '#d4759f',
    500: '#bb2f78',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f78;
$custom-light: #d4759f;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f78",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 328.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.18704,
    "h": 353.5
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#BB2F78
secondary
#7CC9A1
accent
#E39145
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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