#BB307C#BB307C

#BB307C is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.6% C 0.188 H 351.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BB307C
RGBrgb(187, 48, 124)
HSLhsl(327, 59%, 46%)
HSVhsv(327, 74%, 73%)
CMYKcmyk(0%, 74.3%, 33.7%, 26.7%)
CIE-LABlab(44.43, 60.70, -10.38)
CIE-LCHlch(44.43, 61.58, 350.30°)
OKLaboklab(54.58% 0.1859 -0.0268)
OKLCHoklch(54.58% 0.188 351.8)
XYZxyz(25.1900, 14.1369, 20.4670)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB307C #30BB6F
analogous
#B430BB #BB307C #BB3036
triadic
#BB307C #7CBB30 #307CBB
tetradic
#BB307C #BBB430 #30BB6F #3036BB
square
#BB307C #BBB430 #30BB6F #3036BB
split-complementary
#BB307C #36BB30 #30BBB4
monochromatic
#5A173B #8A235C #BB307C #D3559A #E086B7

Accessibility & contrast

On white

5.49
#BB307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BB307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB307C
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB307C#FFFFFF#000000##FFFFFF
##BB307C1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#707279
Tritanopia (blue-blind)
#C92552
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #bb307c;
/* rgb */ color: rgb(187, 48, 124);
/* oklch */ color: oklch(54.6% 0.188 351.8);
Tailwind
colors: {
  custom: {
    50: '#d475a2',
    500: '#bb307c',
    950: '#000000',
  },
}
SCSS
$custom: #bb307c;
$custom-light: #d475a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb307c",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 327.194,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.18782,
    "h": 351.8
  },
  "luminance": 0.14134
}

Semantic roles & 50–950 ramp

primary
#BB307C
secondary
#7DC9A0
accent
#E28D45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BB307C

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

Preview Lab → · Contrast checker → · Palette generator →

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