#B9307F#B9307F

#B9307F is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.188 H 349.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B9307F
RGBrgb(185, 48, 127)
HSLhsl(325, 59%, 46%)
HSVhsv(325, 74%, 73%)
CMYKcmyk(0%, 74.1%, 31.4%, 27.5%)
CIE-LABlab(44.18, 60.52, -12.63)
CIE-LCHlch(44.18, 61.82, 348.21°)
OKLaboklab(54.36% 0.1849 -0.033)
OKLCHoklch(54.36% 0.188 349.9)
XYZxyz(24.8966, 13.9634, 21.4587)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9307F #30B96A
analogous
#AE30B9 #B9307F #B9303B
triadic
#B9307F #7FB930 #307FB9
tetradic
#B9307F #B9AE30 #30B96A #303BB9
square
#B9307F #B9AE30 #30B96A #303BB9
split-complementary
#B9307F #3BB930 #30B9AE
monochromatic
#58173C #88235E #B9307F #D3549D #DF84B9

Accessibility & contrast

On white

5.54
#B9307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B9307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9307F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9307F#FFFFFF#000000##FFFFFF
##B9307F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#C72853
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b9307f;
/* rgb */ color: rgb(185, 48, 127);
/* oklch */ color: oklch(54.4% 0.188 349.9);
Tailwind
colors: {
  custom: {
    50: '#d375a4',
    500: '#b9307f',
    950: '#000000',
  },
}
SCSS
$custom: #b9307f;
$custom-light: #d375a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b9307f",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 325.401,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.18781,
    "h": 349.9
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#B9307F
secondary
#7CC99D
accent
#E28846
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B9307F

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

Preview Lab → · Contrast checker → · Palette generator →

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