#B9308A#B9308A

#B9308A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.194 H 345.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B9308A
RGBrgb(185, 48, 138)
HSLhsl(321, 59%, 46%)
HSVhsv(321, 74%, 73%)
CMYKcmyk(0%, 74.1%, 25.4%, 27.5%)
CIE-LABlab(44.61, 61.87, -18.68)
CIE-LCHlch(44.61, 64.63, 343.20°)
OKLaboklab(54.82% 0.1874 -0.0497)
OKLCHoklch(54.82% 0.194 345.1)
XYZxyz(25.6531, 14.2659, 25.4425)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308A #30B95F
analogous
#A330B9 #B9308A #B93045
triadic
#B9308A #8AB930 #308AB9
tetradic
#B9308A #B9A330 #30B95F #3045B9
square
#B9308A #B9A330 #30B95F #3045B9
split-complementary
#B9308A #45B930 #30B9A3
monochromatic
#581742 #882366 #B9308A #D354A7 #DF84C0

Accessibility & contrast

On white

5.45
#B9308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B9308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9308A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9308A#FFFFFF#000000##FFFFFF
##B9308A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#6B7287
Tritanopia (blue-blind)
#C52E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b9308a;
/* rgb */ color: rgb(185, 48, 138);
/* oklch */ color: oklch(54.8% 0.194 345.1);
Tailwind
colors: {
  custom: {
    50: '#d275ac',
    500: '#b9308a',
    950: '#000000',
  },
}
SCSS
$custom: #b9308a;
$custom-light: #d275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308a",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 320.584,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.19383,
    "h": 345.1
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#B9308A
secondary
#7CC996
accent
#E27B46
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9308A

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

Preview Lab → · Contrast checker → · Palette generator →

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