#B4306A#B4306A

#B4306A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.175 H 358.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B4306A
RGBrgb(180, 48, 106)
HSLhsl(334, 58%, 45%)
HSVhsv(334, 73%, 71%)
CMYKcmyk(0%, 73.3%, 41.1%, 29.4%)
CIE-LABlab(42.55, 56.84, -2.18)
CIE-LCHlch(42.55, 56.88, 357.80°)
OKLaboklab(52.77% 0.1745 -0.005)
OKLCHoklch(52.77% 0.175 358.4)
XYZxyz(22.4825, 12.8606, 14.9313)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4306A #30B47A
analogous
#B430AC #B4306A #B43830
triadic
#B4306A #6AB430 #306AB4
tetradic
#B4306A #ACB430 #30B47A #3830B4
square
#B4306A #ACB430 #30B47A #3830B4
split-complementary
#B4306A #30B438 #30ACB4
monochromatic
#531631 #84234E #B4306A #D15189 #DD81AA

Accessibility & contrast

On white

5.88
#B4306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B4306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4306A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4306A#FFFFFF#000000##FFFFFF
##B4306A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B556B
Deuteranopia (green-blind)
#6F6E67
Tritanopia (blue-blind)
#C31E49
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4306a;
/* rgb */ color: rgb(180, 48, 106);
/* oklch */ color: oklch(52.8% 0.175 358.4);
Tailwind
colors: {
  custom: {
    50: '#cf7494',
    500: '#b4306a',
    950: '#000000',
  },
}
SCSS
$custom: #b4306a;
$custom-light: #cf7494;
$custom-dark: #000000;
JSON
{
  "hex": "#b4306a",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 333.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.17452,
    "h": 358.4
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#B4306A
secondary
#79C6A5
accent
#E19D47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4306A

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

Preview Lab → · Contrast checker → · Palette generator →

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