#B9308E#B9308E

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

Color values

HEX#B9308E
RGBrgb(185, 48, 142)
HSLhsl(319, 59%, 46%)
HSVhsv(319, 74%, 73%)
CMYKcmyk(0%, 74.1%, 23.2%, 27.5%)
CIE-LABlab(44.78, 62.38, -20.85)
CIE-LCHlch(44.78, 65.78, 341.52°)
OKLaboklab(55% 0.1881 -0.0557)
OKLCHoklch(55% 0.196 343.5)
XYZxyz(25.9480, 14.3839, 26.9958)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9308E #30B95B
analogous
#9F30B9 #B9308E #B9304A
triadic
#B9308E #8EB930 #308EB9
tetradic
#B9308E #B99F30 #30B95B #304AB9
square
#B9308E #B99F30 #30B95B #304AB9
split-complementary
#B9308E #4AB930 #30B99F
monochromatic
#581743 #882369 #B9308E #D354AB #DF84C3

Accessibility & contrast

On white

5.42
#B9308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9308E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9308E#FFFFFF#000000##FFFFFF
##B9308E1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B91
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#C5305B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b9308e;
/* rgb */ color: rgb(185, 48, 142);
/* oklch */ color: oklch(55.0% 0.196 343.5);
Tailwind
colors: {
  custom: {
    50: '#d275af',
    500: '#b9308e',
    950: '#000000',
  },
}
SCSS
$custom: #b9308e;
$custom-light: #d275af;
$custom-dark: #000000;
JSON
{
  "hex": "#b9308e",
  "rgb": {
    "r": 185,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 318.832,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54995,
    "c": 0.19621,
    "h": 343.5
  },
  "luminance": 0.14381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9308E

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

Preview Lab → · Contrast checker → · Palette generator →

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