#B9308C#B9308C

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

Color values

HEX#B9308C
RGBrgb(185, 48, 140)
HSLhsl(320, 59%, 46%)
HSVhsv(320, 74%, 73%)
CMYKcmyk(0%, 74.1%, 24.3%, 27.5%)
CIE-LABlab(44.69, 62.12, -19.77)
CIE-LCHlch(44.69, 65.19, 342.35°)
OKLaboklab(54.91% 0.1878 -0.0527)
OKLCHoklch(54.91% 0.195 344.3)
XYZxyz(25.7992, 14.3244, 26.2121)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308C #30B95D
analogous
#A130B9 #B9308C #B93047
triadic
#B9308C #8CB930 #308CB9
tetradic
#B9308C #B9A130 #30B95D #3047B9
square
#B9308C #B9A130 #30B95D #3047B9
split-complementary
#B9308C #47B930 #30B9A1
monochromatic
#581742 #882367 #B9308C #D354A9 #DF84C1

Accessibility & contrast

On white

5.43
#B9308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9308C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9308C#FFFFFF#000000##FFFFFF
##B9308C1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#6A7289
Tritanopia (blue-blind)
#C52F5A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9308c;
/* rgb */ color: rgb(185, 48, 140);
/* oklch */ color: oklch(54.9% 0.195 344.3);
Tailwind
colors: {
  custom: {
    50: '#d275ad',
    500: '#b9308c',
    950: '#000000',
  },
}
SCSS
$custom: #b9308c;
$custom-light: #d275ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308c",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 319.708,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.19501,
    "h": 344.3
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#B9308C
secondary
#7CC995
accent
#E27946
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #B9308C

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

Preview Lab → · Contrast checker → · Palette generator →

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