#B4309C#B4309C

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

Color values

HEX#B4309C
RGBrgb(180, 48, 156)
HSLhsl(311, 58%, 45%)
HSVhsv(311, 73%, 71%)
CMYKcmyk(0%, 73.3%, 13.3%, 29.4%)
CIE-LABlab(44.55, 63.10, -29.72)
CIE-LCHlch(44.55, 69.75, 334.78°)
OKLaboklab(54.87% 0.1853 -0.0809)
OKLCHoklch(54.87% 0.202 336.4)
XYZxyz(25.8805, 14.2199, 32.8277)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309C #30B448
analogous
#8A30B4 #B4309C #B4305A
triadic
#B4309C #9CB430 #309CB4
tetradic
#B4309C #B48A30 #30B448 #305AB4
square
#B4309C #B48A30 #30B448 #305AB4
split-complementary
#B4309C #5AB430 #30B48A
monochromatic
#531648 #842372 #B4309C #D151B9 #DD81CD

Accessibility & contrast

On white

5.46
#B4309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4309C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309C#FFFFFF#000000##FFFFFF
##B4309C1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#607099
Tritanopia (blue-blind)
#BD3963
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4309c;
/* rgb */ color: rgb(180, 48, 156);
/* oklch */ color: oklch(54.9% 0.202 336.4);
Tailwind
colors: {
  custom: {
    50: '#ce75b9',
    500: '#b4309c',
    950: '#000000',
  },
}
SCSS
$custom: #b4309c;
$custom-light: #ce75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309c",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 310.909,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.20223,
    "h": 336.4
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#B4309C
secondary
#79C687
accent
#E16347
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4309C

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

Preview Lab → · Contrast checker → · Palette generator →

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