#B4309A#B4309A

#B4309A is a mid, highly saturated pink. Relative luminance 0.141; OKLCH L 54.8% C 0.201 H 337.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B4309A
RGBrgb(180, 48, 154)
HSLhsl(312, 58%, 45%)
HSVhsv(312, 73%, 71%)
CMYKcmyk(0%, 73.3%, 14.4%, 29.4%)
CIE-LABlab(44.45, 62.81, -28.67)
CIE-LCHlch(44.45, 69.04, 335.47°)
OKLaboklab(54.77% 0.1851 -0.0779)
OKLCHoklch(54.77% 0.201 337.2)
XYZxyz(25.7126, 14.1527, 31.9431)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4309A #30B44A
analogous
#8C30B4 #B4309A #B43058
triadic
#B4309A #9AB430 #309AB4
tetradic
#B4309A #B48C30 #30B44A #3058B4
square
#B4309A #B48C30 #30B44A #3058B4
split-complementary
#B4309A #58B430 #30B48C
monochromatic
#531647 #842371 #B4309A #D151B7 #DD81CB

Accessibility & contrast

On white

5.48
#B4309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B4309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4309A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4309A#FFFFFF#000000##FFFFFF
##B4309A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9D
Deuteranopia (green-blind)
#617097
Tritanopia (blue-blind)
#BE3861
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4309a;
/* rgb */ color: rgb(180, 48, 154);
/* oklch */ color: oklch(54.8% 0.201 337.2);
Tailwind
colors: {
  custom: {
    50: '#ce75b8',
    500: '#b4309a',
    950: '#000000',
  },
}
SCSS
$custom: #b4309a;
$custom-light: #ce75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#b4309a",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 311.818,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.20085,
    "h": 337.2
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#B4309A
secondary
#79C689
accent
#E16547
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B4309A

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

Preview Lab → · Contrast checker → · Palette generator →

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