#B9308B#B9308B

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

Color values

HEX#B9308B
RGBrgb(185, 48, 139)
HSLhsl(320, 59%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 74.1%, 24.9%, 27.5%)
CIE-LABlab(44.65, 61.99, -19.23)
CIE-LCHlch(44.65, 64.91, 342.77°)
OKLaboklab(54.86% 0.1876 -0.0512)
OKLCHoklch(54.86% 0.194 344.7)
XYZxyz(25.7258, 14.2950, 25.8255)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308B #30B95E
analogous
#A230B9 #B9308B #B93046
triadic
#B9308B #8BB930 #308BB9
tetradic
#B9308B #B9A230 #30B95E #3046B9
square
#B9308B #B9A230 #30B95E #3046B9
split-complementary
#B9308B #46B930 #30B9A2
monochromatic
#581742 #882366 #B9308B #D354A8 #DF84C1

Accessibility & contrast

On white

5.44
#B9308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B9308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9308B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9308B#FFFFFF#000000##FFFFFF
##B9308B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#C52E5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9308b;
/* rgb */ color: rgb(185, 48, 139);
/* oklch */ color: oklch(54.9% 0.194 344.7);
Tailwind
colors: {
  custom: {
    50: '#d275ad',
    500: '#b9308b',
    950: '#000000',
  },
}
SCSS
$custom: #b9308b;
$custom-light: #d275ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308b",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 320.146,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.19442,
    "h": 344.7
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9308B

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

Preview Lab → · Contrast checker → · Palette generator →

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