#B8309B#B8309B

#B8309B is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.4% C 0.204 H 338.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B8309B
RGBrgb(184, 48, 155)
HSLhsl(313, 59%, 45%)
HSVhsv(313, 74%, 72%)
CMYKcmyk(0%, 73.9%, 15.8%, 27.8%)
CIE-LABlab(45.18, 63.91, -28.07)
CIE-LCHlch(45.18, 69.80, 336.29°)
OKLaboklab(55.44% 0.1891 -0.0762)
OKLCHoklch(55.44% 0.204 338.1)
XYZxyz(26.7411, 14.6733, 32.4279)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8309B #30B84D
analogous
#9130B8 #B8309B #B83057
triadic
#B8309B #9BB830 #309BB8
tetradic
#B8309B #B89130 #30B84D #3057B8
square
#B8309B #B89130 #30B84D #3057B8
split-complementary
#B8309B #57B830 #30B891
monochromatic
#571749 #872372 #B8309B #D253B7 #DF84CB

Accessibility & contrast

On white

5.34
#B8309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8309B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8309B#FFFFFF#000000##FFFFFF
##B8309B1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#647298
Tritanopia (blue-blind)
#C23762
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8309b;
/* rgb */ color: rgb(184, 48, 155);
/* oklch */ color: oklch(55.4% 0.204 338.1);
Tailwind
colors: {
  custom: {
    50: '#d176b9',
    500: '#b8309b',
    950: '#000000',
  },
}
SCSS
$custom: #b8309b;
$custom-light: #d176b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b8309b",
  "rgb": {
    "r": 184,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 312.794,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55444,
    "c": 0.20389,
    "h": 338.1
  },
  "luminance": 0.14671
}

Semantic roles & 50–950 ramp

primary
#B8309B
secondary
#7CC88C
accent
#E26746
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #B8309B

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

Preview Lab → · Contrast checker → · Palette generator →

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