#B4305C#B4305C

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

Color values

HEX#B4305C
RGBrgb(180, 48, 92)
HSLhsl(340, 58%, 45%)
HSVhsv(340, 73%, 71%)
CMYKcmyk(0%, 73.3%, 48.9%, 29.4%)
CIE-LABlab(42.14, 55.51, 5.97)
CIE-LCHlch(42.14, 55.83, 6.14°)
OKLaboklab(52.33% 0.1696 0.0158)
OKLCHoklch(52.33% 0.17 5.3)
XYZxyz(21.8129, 12.5928, 11.4052)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4305C #30B488
analogous
#B4309E #B4305C #B44630
triadic
#B4305C #5CB430 #305CB4
tetradic
#B4305C #9EB430 #30B488 #4630B4
square
#B4305C #9EB430 #30B488 #4630B4
split-complementary
#B4305C #30B446 #309EB4
monochromatic
#53162B #842343 #B4305C #D1517B #DD81A0

Accessibility & contrast

On white

5.97
#B4305C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4305C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4305C#FFFFFF#000000##FFFFFF
##B4305C1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F535D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#C41542
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b4305c;
/* rgb */ color: rgb(180, 48, 92);
/* oklch */ color: oklch(52.3% 0.170 5.3);
Tailwind
colors: {
  custom: {
    50: '#d07389',
    500: '#b4305c',
    950: '#000000',
  },
}
SCSS
$custom: #b4305c;
$custom-light: #d07389;
$custom-dark: #000000;
JSON
{
  "hex": "#b4305c",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 340,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.17031,
    "h": 5.3
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#B4305C
secondary
#79C6AD
accent
#E1AE47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B4305C

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

Preview Lab → · Contrast checker → · Palette generator →

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