#B8309C#B8309C

#B8309C is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.5% C 0.205 H 337.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B8309C
RGBrgb(184, 48, 156)
HSLhsl(312, 59%, 45%)
HSVhsv(312, 74%, 72%)
CMYKcmyk(0%, 73.9%, 15.2%, 27.8%)
CIE-LABlab(45.23, 64.05, -28.60)
CIE-LCHlch(45.23, 70.14, 335.94°)
OKLaboklab(55.49% 0.1892 -0.0777)
OKLCHoklch(55.49% 0.205 337.7)
XYZxyz(26.8254, 14.7071, 32.8720)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309C #30B84C
analogous
#9030B8 #B8309C #B83058
triadic
#B8309C #9CB830 #309CB8
tetradic
#B8309C #B89030 #30B84C #3058B8
square
#B8309C #B89030 #30B84C #3058B8
split-complementary
#B8309C #58B830 #30B890
monochromatic
#57174A #872373 #B8309C #D253B8 #DF84CC

Accessibility & contrast

On white

5.33
#B8309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B8309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8309C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309C#FFFFFF#000000##FFFFFF
##B8309C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355E9F
Deuteranopia (green-blind)
#637399
Tritanopia (blue-blind)
#C23863
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309c;
/* rgb */ color: rgb(184, 48, 156);
/* oklch */ color: oklch(55.5% 0.205 337.7);
Tailwind
colors: {
  custom: {
    50: '#d176b9',
    500: '#b8309c',
    950: '#000000',
  },
}
SCSS
$custom: #b8309c;
$custom-light: #d176b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309c",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 312.353,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.20456,
    "h": 337.7
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#B8309C
secondary
#7CC88B
accent
#E26646
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8309C

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

Preview Lab → · Contrast checker → · Palette generator →

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