#BB2F9C#BB2F9C

#BB2F9C is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.207 H 338.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB2F9C
RGBrgb(187, 47, 156)
HSLhsl(313, 60%, 46%)
HSVhsv(313, 75%, 73%)
CMYKcmyk(0%, 74.9%, 16.6%, 26.7%)
CIE-LABlab(45.64, 65.08, -27.93)
CIE-LCHlch(45.64, 70.82, 336.77°)
OKLaboklab(55.88% 0.1931 -0.0757)
OKLCHoklch(55.88% 0.207 338.6)
XYZxyz(27.5114, 15.0008, 32.8926)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F9C #2FBB4E
analogous
#942FBB #BB2F9C #BB2F56
triadic
#BB2F9C #9CBB2F #2F9CBB
tetradic
#BB2F9C #BB942F #2FBB4E #2F56BB
square
#BB2F9C #BB942F #2FBB4E #2F56BB
split-complementary
#BB2F9C #56BB2F #2FBB94
monochromatic
#59164A #8A2373 #BB2F9C #D453B7 #E084CC

Accessibility & contrast

On white

5.25
#BB2F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB2F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F9C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F9C#FFFFFF#000000##FFFFFF
##BB2F9C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9F
Deuteranopia (green-blind)
#657499
Tritanopia (blue-blind)
#C63662
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2f9c;
/* rgb */ color: rgb(187, 47, 156);
/* oklch */ color: oklch(55.9% 0.207 338.6);
Tailwind
colors: {
  custom: {
    50: '#d376b9',
    500: '#bb2f9c',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f9c;
$custom-light: #d376b9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f9c",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 313.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.20738,
    "h": 338.6
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#BB2F9C
secondary
#7CC98D
accent
#E36845
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #BB2F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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