#B8309A#B8309A

#B8309A is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.4% C 0.203 H 338.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B8309A
RGBrgb(184, 48, 154)
HSLhsl(313, 59%, 45%)
HSVhsv(313, 74%, 72%)
CMYKcmyk(0%, 73.9%, 16.3%, 27.8%)
CIE-LABlab(45.14, 63.77, -27.55)
CIE-LCHlch(45.14, 69.46, 336.64°)
OKLaboklab(55.4% 0.189 -0.0747)
OKLCHoklch(55.4% 0.203 338.4)
XYZxyz(26.6575, 14.6399, 31.9874)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309A #30B84E
analogous
#9230B8 #B8309A #B83056
triadic
#B8309A #9AB830 #309AB8
tetradic
#B8309A #B89230 #30B84E #3056B8
square
#B8309A #B89230 #30B84E #3056B8
split-complementary
#B8309A #56B830 #30B892
monochromatic
#571749 #872371 #B8309A #D253B6 #DF84CB

Accessibility & contrast

On white

5.35
#B8309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B8309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8309A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309A#FFFFFF#000000##FFFFFF
##B8309A1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#647297
Tritanopia (blue-blind)
#C23762
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309a;
/* rgb */ color: rgb(184, 48, 154);
/* oklch */ color: oklch(55.4% 0.203 338.4);
Tailwind
colors: {
  custom: {
    50: '#d176b8',
    500: '#b8309a',
    950: '#000000',
  },
}
SCSS
$custom: #b8309a;
$custom-light: #d176b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309a",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 313.235,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.20322,
    "h": 338.4
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#B8309A
secondary
#7CC88D
accent
#E26846
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8309A

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

Preview Lab → · Contrast checker → · Palette generator →

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