#B4306D#B4306D

#B4306D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.176 H 356.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B4306D
RGBrgb(180, 48, 109)
HSLhsl(332, 58%, 45%)
HSVhsv(332, 73%, 71%)
CMYKcmyk(0%, 73.3%, 39.4%, 29.4%)
CIE-LABlab(42.65, 57.15, -3.91)
CIE-LCHlch(42.65, 57.29, 356.09°)
OKLaboklab(52.87% 0.1754 -0.0095)
OKLCHoklch(52.87% 0.176 356.9)
XYZxyz(22.6412, 12.9241, 15.7673)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4306D #30B477
analogous
#B430AF #B4306D #B43530
triadic
#B4306D #6DB430 #306DB4
tetradic
#B4306D #AFB430 #30B477 #3530B4
square
#B4306D #AFB430 #30B477 #3530B4
split-complementary
#B4306D #30B435 #30AFB4
monochromatic
#531632 #842350 #B4306D #D1518C #DD81AC

Accessibility & contrast

On white

5.86
#B4306D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4306D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4306D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4306D#FFFFFF#000000##FFFFFF
##B4306D1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A556F
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#C3204A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4306d;
/* rgb */ color: rgb(180, 48, 109);
/* oklch */ color: oklch(52.9% 0.176 356.9);
Tailwind
colors: {
  custom: {
    50: '#cf7496',
    500: '#b4306d',
    950: '#000000',
  },
}
SCSS
$custom: #b4306d;
$custom-light: #cf7496;
$custom-dark: #000000;
JSON
{
  "hex": "#b4306d",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 332.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.17567,
    "h": 356.9
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#B4306D
secondary
#79C6A3
accent
#E19A47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4306D

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

Preview Lab → · Contrast checker → · Palette generator →

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