#B4305E#B4305E

#B4305E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.171 H 4.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B4305E
RGBrgb(180, 48, 94)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 73.3%, 47.8%, 29.4%)
CIE-LABlab(42.20, 55.68, 4.79)
CIE-LCHlch(42.20, 55.89, 4.92°)
OKLaboklab(52.39% 0.1703 0.0128)
OKLCHoklch(52.39% 0.171 4.3)
XYZxyz(21.9015, 12.6283, 11.8717)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4305E #30B486
analogous
#B430A0 #B4305E #B44430
triadic
#B4305E #5EB430 #305EB4
tetradic
#B4305E #A0B430 #30B486 #4430B4
square
#B4305E #A0B430 #30B486 #4430B4
split-complementary
#B4305E #30B444 #30A0B4
monochromatic
#53162C #842345 #B4305E #D1517D #DD81A1

Accessibility & contrast

On white

5.96
#B4305E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B4305E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4305E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4305E#FFFFFF#000000##FFFFFF
##B4305E1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#C41643
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4305e;
/* rgb */ color: rgb(180, 48, 94);
/* oklch */ color: oklch(52.4% 0.171 4.3);
Tailwind
colors: {
  custom: {
    50: '#d0738b',
    500: '#b4305e',
    950: '#000000',
  },
}
SCSS
$custom: #b4305e;
$custom-light: #d0738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4305e",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 339.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.17079,
    "h": 4.3
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#B4305E
secondary
#79C6AC
accent
#E1AB47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4305E

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

Preview Lab → · Contrast checker → · Palette generator →

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