#B9308F#B9308F

#B9308F is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.197 H 343.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B9308F
RGBrgb(185, 48, 143)
HSLhsl(318, 59%, 46%)
HSVhsv(318, 74%, 73%)
CMYKcmyk(0%, 74.1%, 22.7%, 27.5%)
CIE-LABlab(44.82, 62.51, -21.39)
CIE-LCHlch(44.82, 66.07, 341.11°)
OKLaboklab(55.04% 0.1883 -0.0573)
OKLCHoklch(55.04% 0.197 343.1)
XYZxyz(26.0234, 14.4141, 27.3930)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308F #30B95A
analogous
#9E30B9 #B9308F #B9304B
triadic
#B9308F #8FB930 #308FB9
tetradic
#B9308F #B99E30 #30B95A #304BB9
square
#B9308F #B99E30 #30B95A #304BB9
split-complementary
#B9308F #4BB930 #30B99E
monochromatic
#581744 #882369 #B9308F #D354AC #DF84C3

Accessibility & contrast

On white

5.41
#B9308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B9308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9308F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9308F#FFFFFF#000000##FFFFFF
##B9308F1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5C92
Deuteranopia (green-blind)
#69728C
Tritanopia (blue-blind)
#C5305C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9308f;
/* rgb */ color: rgb(185, 48, 143);
/* oklch */ color: oklch(55.0% 0.197 343.1);
Tailwind
colors: {
  custom: {
    50: '#d275b0',
    500: '#b9308f',
    950: '#000000',
  },
}
SCSS
$custom: #b9308f;
$custom-light: #d275b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308f",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 318.394,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.19682,
    "h": 343.1
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#B9308F
secondary
#7CC994
accent
#E27646
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9308F

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

Preview Lab → · Contrast checker → · Palette generator →

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