#BB2F98#BB2F98

#BB2F98 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.205 H 340.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BB2F98
RGBrgb(187, 47, 152)
HSLhsl(315, 60%, 46%)
HSVhsv(315, 75%, 73%)
CMYKcmyk(0%, 74.9%, 18.7%, 26.7%)
CIE-LABlab(45.45, 64.53, -25.82)
CIE-LCHlch(45.45, 69.50, 338.19°)
OKLaboklab(55.69% 0.1926 -0.0697)
OKLCHoklch(55.69% 0.205 340.1)
XYZxyz(27.1783, 14.8675, 31.1381)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F98 #2FBB52
analogous
#982FBB #BB2F98 #BB2F52
triadic
#BB2F98 #98BB2F #2F98BB
tetradic
#BB2F98 #BB982F #2FBB52 #2F52BB
square
#BB2F98 #BB982F #2FBB52 #2F52BB
split-complementary
#BB2F98 #52BB2F #2FBB98
monochromatic
#591648 #8A2370 #BB2F98 #D453B4 #E084C9

Accessibility & contrast

On white

5.29
#BB2F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BB2F98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F98
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F98#FFFFFF#000000##FFFFFF
##BB2F981.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#677495
Tritanopia (blue-blind)
#C63460
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2f98;
/* rgb */ color: rgb(187, 47, 152);
/* oklch */ color: oklch(55.7% 0.205 340.1);
Tailwind
colors: {
  custom: {
    50: '#d376b6',
    500: '#bb2f98',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f98;
$custom-light: #d376b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f98",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 315,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.20479,
    "h": 340.1
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#BB2F98
secondary
#7CC990
accent
#E36C45
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2F98

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

Preview Lab → · Contrast checker → · Palette generator →

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