#BB2F9D#BB2F9D

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

Color values

HEX#BB2F9D
RGBrgb(187, 47, 157)
HSLhsl(313, 60%, 46%)
HSVhsv(313, 75%, 73%)
CMYKcmyk(0%, 74.9%, 16%, 26.7%)
CIE-LABlab(45.68, 65.22, -28.46)
CIE-LCHlch(45.68, 71.15, 336.43°)
OKLaboklab(55.93% 0.1932 -0.0772)
OKLCHoklch(55.93% 0.208 338.2)
XYZxyz(27.5965, 15.0348, 33.3404)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2F9D #2FBB4D
analogous
#932FBB #BB2F9D #BB2F57
triadic
#BB2F9D #9DBB2F #2F9DBB
tetradic
#BB2F9D #BB932F #2FBB4D #2F57BB
square
#BB2F9D #BB932F #2FBB4D #2F57BB
split-complementary
#BB2F9D #57BB2F #2FBB93
monochromatic
#59164B #8A2374 #BB2F9D #D453B8 #E084CC

Accessibility & contrast

On white

5.24
#BB2F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BB2F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2F9D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2F9D#FFFFFF#000000##FFFFFF
##BB2F9D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#C53663
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb2f9d;
/* rgb */ color: rgb(187, 47, 157);
/* oklch */ color: oklch(55.9% 0.208 338.2);
Tailwind
colors: {
  custom: {
    50: '#d376ba',
    500: '#bb2f9d',
    950: '#000000',
  },
}
SCSS
$custom: #bb2f9d;
$custom-light: #d376ba;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2f9d",
  "rgb": {
    "r": 187,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 312.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.20805,
    "h": 338.2
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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