#B4305D#B4305D

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

Color values

HEX#B4305D
RGBrgb(180, 48, 93)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.3%, 48.3%, 29.4%)
CIE-LABlab(42.17, 55.59, 5.38)
CIE-LCHlch(42.17, 55.85, 5.53°)
OKLaboklab(52.36% 0.17 0.0143)
OKLCHoklch(52.36% 0.171 4.8)
XYZxyz(21.8569, 12.6104, 11.6369)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4305D #30B487
analogous
#B4309F #B4305D #B44530
triadic
#B4305D #5DB430 #305DB4
tetradic
#B4305D #9FB430 #30B487 #4530B4
square
#B4305D #9FB430 #30B487 #4530B4
split-complementary
#B4305D #30B445 #309FB4
monochromatic
#53162B #842344 #B4305D #D1517C #DD81A1

Accessibility & contrast

On white

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

On black

3.52
#B4305D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4305D#FFFFFF#000000##FFFFFF
##B4305D1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C41643
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4305d;
/* rgb */ color: rgb(180, 48, 93);
/* oklch */ color: oklch(52.4% 0.171 4.8);
Tailwind
colors: {
  custom: {
    50: '#d0738a',
    500: '#b4305d',
    950: '#000000',
  },
}
SCSS
$custom: #b4305d;
$custom-light: #d0738a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4305d",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 339.545,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.17055,
    "h": 4.8
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#B4305D
secondary
#79C6AC
accent
#E1AC47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B4305D

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

Preview Lab → · Contrast checker → · Palette generator →

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