#B0306B#B0306B

#B0306B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.172 H 356.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B0306B
RGBrgb(176, 48, 107)
HSLhsl(332, 57%, 44%)
HSVhsv(332, 73%, 69%)
CMYKcmyk(0%, 72.7%, 39.2%, 31%)
CIE-LABlab(41.86, 55.82, -3.91)
CIE-LCHlch(41.86, 55.95, 355.99°)
OKLaboklab(52.13% 0.1713 -0.0096)
OKLCHoklch(52.13% 0.172 356.8)
XYZxyz(21.6167, 12.4082, 15.1637)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0306B #30B075
analogous
#B030AB #B0306B #B03530
triadic
#B0306B #6BB030 #306BB0
tetradic
#B0306B #ABB030 #30B075 #3530B0
square
#B0306B #ABB030 #30B075 #3530B0
split-complementary
#B0306B #30B035 #30ABB0
monochromatic
#501631 #80234E #B0306B #CF4E8A #DC7EAA

Accessibility & contrast

On white

6.03
#B0306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B0306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0306B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0306B#FFFFFF#000000##FFFFFF
##B0306B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536D
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#BE2149
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0306b;
/* rgb */ color: rgb(176, 48, 107);
/* oklch */ color: oklch(52.1% 0.172 356.8);
Tailwind
colors: {
  custom: {
    50: '#cc7395',
    500: '#b0306b',
    950: '#000000',
  },
}
SCSS
$custom: #b0306b;
$custom-light: #cc7395;
$custom-dark: #000000;
JSON
{
  "hex": "#b0306b",
  "rgb": {
    "r": 176,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 332.344,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.17152,
    "h": 356.8
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#B0306B
secondary
#77C5A1
accent
#E09A47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B0306B

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

Preview Lab → · Contrast checker → · Palette generator →

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