#B9308D#B9308D

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

Color values

HEX#B9308D
RGBrgb(185, 48, 141)
HSLhsl(319, 59%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 74.1%, 23.8%, 27.5%)
CIE-LABlab(44.74, 62.25, -20.31)
CIE-LCHlch(44.74, 65.48, 341.93°)
OKLaboklab(54.95% 0.1879 -0.0542)
OKLCHoklch(54.95% 0.196 343.9)
XYZxyz(25.8733, 14.3540, 26.6022)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308D #30B95C
analogous
#A030B9 #B9308D #B93048
triadic
#B9308D #8DB930 #308DB9
tetradic
#B9308D #B9A030 #30B95C #3048B9
square
#B9308D #B9A030 #30B95C #3048B9
split-complementary
#B9308D #48B930 #30B9A0
monochromatic
#581743 #882368 #B9308D #D354AA #DF84C2

Accessibility & contrast

On white

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

On black

3.87
#B9308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B9308D#FFFFFF#000000##FFFFFF
##B9308D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B90
Deuteranopia (green-blind)
#6A728A
Tritanopia (blue-blind)
#C52F5B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9308d;
/* rgb */ color: rgb(185, 48, 141);
/* oklch */ color: oklch(55.0% 0.196 343.9);
Tailwind
colors: {
  custom: {
    50: '#d275ae',
    500: '#b9308d',
    950: '#000000',
  },
}
SCSS
$custom: #b9308d;
$custom-light: #d275ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308d",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 319.27,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.19561,
    "h": 343.9
  },
  "luminance": 0.14351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9308D

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

Preview Lab → · Contrast checker → · Palette generator →

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