#B4309E#B4309E

#B4309E is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 55.0% C 0.204 H 335.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B4309E
RGBrgb(180, 48, 158)
HSLhsl(310, 58%, 45%)
HSVhsv(310, 73%, 71%)
CMYKcmyk(0%, 73.3%, 12.2%, 29.4%)
CIE-LABlab(44.64, 63.39, -30.76)
CIE-LCHlch(44.64, 70.46, 334.11°)
OKLaboklab(54.97% 0.1855 -0.0839)
OKLCHoklch(54.97% 0.204 335.7)
XYZxyz(26.0513, 14.2882, 33.7270)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309E #30B446
analogous
#8830B4 #B4309E #B4305C
triadic
#B4309E #9EB430 #309EB4
tetradic
#B4309E #B48830 #30B446 #305CB4
square
#B4309E #B48830 #30B446 #305CB4
split-complementary
#B4309E #5CB430 #30B488
monochromatic
#531649 #842374 #B4309E #D151BB #DD81CE

Accessibility & contrast

On white

5.44
#B4309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B4309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4309E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309E#FFFFFF#000000##FFFFFF
##B4309E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA1
Deuteranopia (green-blind)
#5F719B
Tritanopia (blue-blind)
#BD3A64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4309e;
/* rgb */ color: rgb(180, 48, 158);
/* oklch */ color: oklch(55.0% 0.204 335.7);
Tailwind
colors: {
  custom: {
    50: '#ce75bb',
    500: '#b4309e',
    950: '#000000',
  },
}
SCSS
$custom: #b4309e;
$custom-light: #ce75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309e",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 310,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54972,
    "c": 0.20362,
    "h": 335.7
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#B4309E
secondary
#79C686
accent
#E16047
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B4309E

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

Preview Lab → · Contrast checker → · Palette generator →

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