#B9307C#B9307C

#B9307C is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.186 H 351.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B9307C
RGBrgb(185, 48, 124)
HSLhsl(327, 59%, 46%)
HSVhsv(327, 74%, 73%)
CMYKcmyk(0%, 74.1%, 33%, 27.5%)
CIE-LABlab(44.07, 60.17, -10.96)
CIE-LCHlch(44.07, 61.16, 349.68°)
OKLaboklab(54.25% 0.1841 -0.0284)
OKLCHoklch(54.25% 0.186 351.2)
XYZxyz(24.7040, 13.8863, 20.4443)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9307C #30B96D
analogous
#B130B9 #B9307C #B93038
triadic
#B9307C #7CB930 #307CB9
tetradic
#B9307C #B9B130 #30B96D #3038B9
square
#B9307C #B9B130 #30B96D #3038B9
split-complementary
#B9307C #38B930 #30B9B1
monochromatic
#58173B #88235B #B9307C #D3549A #DF84B7

Accessibility & contrast

On white

5.56
#B9307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#B9307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9307C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9307C#FFFFFF#000000##FFFFFF
##B9307C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597E
Deuteranopia (green-blind)
#6F7179
Tritanopia (blue-blind)
#C72652
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9307c;
/* rgb */ color: rgb(185, 48, 124);
/* oklch */ color: oklch(54.2% 0.186 351.2);
Tailwind
colors: {
  custom: {
    50: '#d375a2',
    500: '#b9307c',
    950: '#000000',
  },
}
SCSS
$custom: #b9307c;
$custom-light: #d375a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9307c",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 326.715,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54246,
    "c": 0.18631,
    "h": 351.2
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#B9307C
secondary
#7CC99E
accent
#E28B46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #B9307C

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

Preview Lab → · Contrast checker → · Palette generator →

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