#B4305B#B4305B

#B4305B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.170 H 5.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B4305B
RGBrgb(180, 48, 91)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.3%, 49.4%, 29.4%)
CIE-LABlab(42.12, 55.42, 6.56)
CIE-LCHlch(42.12, 55.80, 6.75°)
OKLaboklab(52.3% 0.1692 0.0172)
OKLCHoklch(52.3% 0.17 5.8)
XYZxyz(21.7695, 12.5755, 11.1765)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4305B #30B489
analogous
#B4309D #B4305B #B44730
triadic
#B4305B #5BB430 #305BB4
tetradic
#B4305B #9DB430 #30B489 #4730B4
square
#B4305B #9DB430 #30B489 #4730B4
split-complementary
#B4305B #30B447 #309DB4
monochromatic
#53162A #842343 #B4305B #D1517A #DD819F

Accessibility & contrast

On white

5.98
#B4305B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B4305B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4305B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4305B#FFFFFF#000000##FFFFFF
##B4305B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#C41442
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4305b;
/* rgb */ color: rgb(180, 48, 91);
/* oklch */ color: oklch(52.3% 0.170 5.8);
Tailwind
colors: {
  custom: {
    50: '#d07389',
    500: '#b4305b',
    950: '#000000',
  },
}
SCSS
$custom: #b4305b;
$custom-light: #d07389;
$custom-dark: #000000;
JSON
{
  "hex": "#b4305b",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 340.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.17008,
    "h": 5.8
  },
  "luminance": 0.12573
}

Semantic roles & 50–950 ramp

primary
#B4305B
secondary
#79C6AD
accent
#E1AF47
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B4305B

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

Preview Lab → · Contrast checker → · Palette generator →

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