#B4306F#B4306F

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

Color values

HEX#B4306F
RGBrgb(180, 48, 111)
HSLhsl(331, 58%, 45%)
HSVhsv(331, 73%, 71%)
CMYKcmyk(0%, 73.3%, 38.3%, 29.4%)
CIE-LABlab(42.71, 57.37, -5.05)
CIE-LCHlch(42.71, 57.59, 354.97°)
OKLaboklab(52.94% 0.176 -0.0126)
OKLCHoklch(52.94% 0.176 355.9)
XYZxyz(22.7501, 12.9677, 16.3408)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4306F #30B475
analogous
#B430B1 #B4306F #B43330
triadic
#B4306F #6FB430 #306FB4
tetradic
#B4306F #B1B430 #30B475 #3330B4
square
#B4306F #B1B430 #30B475 #3330B4
split-complementary
#B4306F #30B433 #30B1B4
monochromatic
#531633 #842351 #B4306F #D1518E #DD81AD

Accessibility & contrast

On white

5.84
#B4306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B4306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4306F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4306F#FFFFFF#000000##FFFFFF
##B4306F1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5571
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C2214B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4306f;
/* rgb */ color: rgb(180, 48, 111);
/* oklch */ color: oklch(52.9% 0.176 355.9);
Tailwind
colors: {
  custom: {
    50: '#cf7498',
    500: '#b4306f',
    950: '#000000',
  },
}
SCSS
$custom: #b4306f;
$custom-light: #cf7498;
$custom-dark: #000000;
JSON
{
  "hex": "#b4306f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 331.364,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52938,
    "c": 0.17648,
    "h": 355.9
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#B4306F
secondary
#79C6A2
accent
#E19747
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4306F

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

Preview Lab → · Contrast checker → · Palette generator →

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