#BB299F#BB299F

#BB299F is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.6% C 0.215 H 337.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BB299F
RGBrgb(187, 41, 159)
HSLhsl(312, 64%, 45%)
HSVhsv(312, 78%, 73%)
CMYKcmyk(0%, 78.1%, 15%, 26.7%)
CIE-LABlab(45.16, 67.26, -30.47)
CIE-LCHlch(45.16, 73.84, 335.63°)
OKLaboklab(55.59% 0.1987 -0.0829)
OKLCHoklch(55.59% 0.215 337.4)
XYZxyz(27.5450, 14.6565, 34.1725)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB299F #29BB45
analogous
#8E29BB #BB299F #BB2956
triadic
#BB299F #9FBB29 #299FBB
tetradic
#BB299F #BB8E29 #29BB45 #2956BB
square
#BB299F #BB8E29 #29BB45 #2956BB
split-complementary
#BB299F #56BB29 #29BB8E
monochromatic
#57134A #891E74 #BB299F #D74ABC #E27CCF

Accessibility & contrast

On white

5.34
#BB299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BB299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB299F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB299F#FFFFFF#000000##FFFFFF
##BB299F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#62739C
Tritanopia (blue-blind)
#C53362
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb299f;
/* rgb */ color: rgb(187, 41, 159);
/* oklch */ color: oklch(55.6% 0.215 337.4);
Tailwind
colors: {
  custom: {
    50: '#d474bb',
    500: '#bb299f',
    950: '#000000',
  },
}
SCSS
$custom: #bb299f;
$custom-light: #d474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb299f",
  "rgb": {
    "r": 187,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 311.507,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.21529,
    "h": 337.4
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#BB299F
secondary
#75CB86
accent
#E76141
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB299F

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

Preview Lab → · Contrast checker → · Palette generator →

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