#BB2F7A#BB2F7A

#BB2F7A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.188 H 352.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB2F7A
RGBrgb(187, 47, 122)
HSLhsl(328, 60%, 46%)
HSVhsv(328, 75%, 73%)
CMYKcmyk(0%, 74.9%, 34.8%, 26.7%)
CIE-LABlab(44.24, 60.80, -9.43)
CIE-LCHlch(44.24, 61.53, 351.18°)
OKLaboklab(54.42% 0.1864 -0.0243)
OKLCHoklch(54.42% 0.188 352.6)
XYZxyz(25.0244, 14.0060, 19.7942)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F7A #2FBB70
analogous
#B62FBB #BB2F7A #BB2F34
triadic
#BB2F7A #7ABB2F #2F7ABB
tetradic
#BB2F7A #BBB62F #2FBB70 #2F34BB
square
#BB2F7A #BBB62F #2FBB70 #2F34BB
split-complementary
#BB2F7A #34BB2F #2FBBB6
monochromatic
#59163A #8A235A #BB2F7A #D45398 #E084B5

Accessibility & contrast

On white

5.53
#BB2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#BB2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F7A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F7A#FFFFFF#000000##FFFFFF
##BB2F7A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587C
Deuteranopia (green-blind)
#707277
Tritanopia (blue-blind)
#C92250
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb2f7a;
/* rgb */ color: rgb(187, 47, 122);
/* oklch */ color: oklch(54.4% 0.188 352.6);
Tailwind
colors: {
  custom: {
    50: '#d475a0',
    500: '#bb2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f7a;
$custom-light: #d475a0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f7a",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 327.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.18795,
    "h": 352.6
  },
  "luminance": 0.14003
}

Semantic roles & 50–950 ramp

primary
#BB2F7A
secondary
#7CC9A0
accent
#E38E45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BB2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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