#B4309B#B4309B

#B4309B is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.202 H 336.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B4309B
RGBrgb(180, 48, 155)
HSLhsl(311, 58%, 45%)
HSVhsv(311, 73%, 71%)
CMYKcmyk(0%, 73.3%, 13.9%, 29.4%)
CIE-LABlab(44.50, 62.95, -29.19)
CIE-LCHlch(44.50, 69.39, 335.12°)
OKLaboklab(54.82% 0.1852 -0.0795)
OKLCHoklch(54.82% 0.202 336.8)
XYZxyz(25.7962, 14.1861, 32.3836)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309B #30B449
analogous
#8B30B4 #B4309B #B43059
triadic
#B4309B #9BB430 #309BB4
tetradic
#B4309B #B48B30 #30B449 #3059B4
square
#B4309B #B48B30 #30B449 #3059B4
split-complementary
#B4309B #59B430 #30B48B
monochromatic
#531648 #842371 #B4309B #D151B8 #DD81CC

Accessibility & contrast

On white

5.47
#B4309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B4309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4309B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309B#FFFFFF#000000##FFFFFF
##B4309B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9E
Deuteranopia (green-blind)
#617098
Tritanopia (blue-blind)
#BE3862
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4309b;
/* rgb */ color: rgb(180, 48, 155);
/* oklch */ color: oklch(54.8% 0.202 336.8);
Tailwind
colors: {
  custom: {
    50: '#ce75b9',
    500: '#b4309b',
    950: '#000000',
  },
}
SCSS
$custom: #b4309b;
$custom-light: #ce75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309b",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 311.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.20154,
    "h": 336.8
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#B4309B
secondary
#79C688
accent
#E16447
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4309B

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

Preview Lab → · Contrast checker → · Palette generator →

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