#B8309E#B8309E

#B8309E is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.206 H 336.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B8309E
RGBrgb(184, 48, 158)
HSLhsl(311, 59%, 45%)
HSVhsv(311, 74%, 72%)
CMYKcmyk(0%, 73.9%, 14.1%, 27.8%)
CIE-LABlab(45.33, 64.34, -29.65)
CIE-LCHlch(45.33, 70.84, 335.26°)
OKLaboklab(55.59% 0.1895 -0.0807)
OKLCHoklch(55.59% 0.206 336.9)
XYZxyz(26.9962, 14.7754, 33.7713)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309E #30B84A
analogous
#8E30B8 #B8309E #B8305A
triadic
#B8309E #9EB830 #309EB8
tetradic
#B8309E #B88E30 #30B84A #305AB8
square
#B8309E #B88E30 #30B84A #305AB8
split-complementary
#B8309E #5AB830 #30B88E
monochromatic
#57174B #872374 #B8309E #D253BA #DF84CD

Accessibility & contrast

On white

5.31
#B8309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B8309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8309E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309E#FFFFFF#000000##FFFFFF
##B8309E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#63739B
Tritanopia (blue-blind)
#C23964
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309e;
/* rgb */ color: rgb(184, 48, 158);
/* oklch */ color: oklch(55.6% 0.206 336.9);
Tailwind
colors: {
  custom: {
    50: '#d176bb',
    500: '#b8309e',
    950: '#000000',
  },
}
SCSS
$custom: #b8309e;
$custom-light: #d176bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309e",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 311.471,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.20591,
    "h": 336.9
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#B8309E
secondary
#7CC88A
accent
#E26446
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B8309E

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

Preview Lab → · Contrast checker → · Palette generator →

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