#B9306C#B9306C

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

Color values

HEX#B9306C
RGBrgb(185, 48, 108)
HSLhsl(334, 59%, 46%)
HSVhsv(334, 74%, 73%)
CMYKcmyk(0%, 74.1%, 41.6%, 27.5%)
CIE-LABlab(43.53, 58.45, -1.89)
CIE-LCHlch(43.53, 58.48, 358.15°)
OKLaboklab(53.67% 0.1794 -0.0042)
OKLCHoklch(53.67% 0.179 358.6)
XYZxyz(23.7730, 13.5139, 15.5410)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9306C #30B97D
analogous
#B930B0 #B9306C #B93930
triadic
#B9306C #6CB930 #306CB9
tetradic
#B9306C #B0B930 #30B97D #3930B9
square
#B9306C #B0B930 #30B97D #3930B9
split-complementary
#B9306C #30B939 #30B0B9
monochromatic
#581733 #882350 #B9306C #D3548B #DF84AC

Accessibility & contrast

On white

5.67
#B9306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9306C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9306C#FFFFFF#000000##FFFFFF
##B9306C1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566E
Deuteranopia (green-blind)
#727069
Tritanopia (blue-blind)
#C81C4A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b9306c;
/* rgb */ color: rgb(185, 48, 108);
/* oklch */ color: oklch(53.7% 0.179 358.6);
Tailwind
colors: {
  custom: {
    50: '#d37496',
    500: '#b9306c',
    950: '#000000',
  },
}
SCSS
$custom: #b9306c;
$custom-light: #d37496;
$custom-dark: #000000;
JSON
{
  "hex": "#b9306c",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 333.723,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.17948,
    "h": 358.6
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#B9306C
secondary
#7CC9A7
accent
#E29E46
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B9306C

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

Preview Lab → · Contrast checker → · Palette generator →

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