#B9306B#B9306B

#B9306B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.179 H 359.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B9306B
RGBrgb(185, 48, 107)
HSLhsl(334, 59%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 74.1%, 42.2%, 27.5%)
CIE-LABlab(43.50, 58.35, -1.31)
CIE-LCHlch(43.50, 58.36, 358.71°)
OKLaboklab(53.64% 0.1791 -0.0027)
OKLCHoklch(53.64% 0.179 359.1)
XYZxyz(23.7201, 13.4928, 15.2623)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9306B #30B97E
analogous
#B930AF #B9306B #B93A30
triadic
#B9306B #6BB930 #306BB9
tetradic
#B9306B #AFB930 #30B97E #3A30B9
square
#B9306B #AFB930 #30B97E #3A30B9
split-complementary
#B9306B #30B93A #30AFB9
monochromatic
#581733 #88234F #B9306B #D3548A #DF84AB

Accessibility & contrast

On white

5.68
#B9306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B9306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9306B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9306B#FFFFFF#000000##FFFFFF
##B9306B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#737068
Tritanopia (blue-blind)
#C81B49
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9306b;
/* rgb */ color: rgb(185, 48, 107);
/* oklch */ color: oklch(53.6% 0.179 359.1);
Tailwind
colors: {
  custom: {
    50: '#d37495',
    500: '#b9306b',
    950: '#000000',
  },
}
SCSS
$custom: #b9306b;
$custom-light: #d37495;
$custom-dark: #000000;
JSON
{
  "hex": "#b9306b",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 334.161,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53639,
    "c": 0.17912,
    "h": 359.1
  },
  "luminance": 0.1349
}

Semantic roles & 50–950 ramp

primary
#B9306B
secondary
#7CC9A8
accent
#E29F46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9306B

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

Preview Lab → · Contrast checker → · Palette generator →

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