#B4305F#B4305F

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

Color values

HEX#B4305F
RGBrgb(180, 48, 95)
HSLhsl(339, 58%, 45%)
HSVhsv(339, 73%, 71%)
CMYKcmyk(0%, 73.3%, 47.2%, 29.4%)
CIE-LABlab(42.23, 55.78, 4.21)
CIE-LCHlch(42.23, 55.93, 4.31°)
OKLaboklab(52.42% 0.1707 0.0114)
OKLCHoklch(52.42% 0.171 3.8)
XYZxyz(21.9467, 12.6463, 12.1096)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4305F #30B485
analogous
#B430A1 #B4305F #B44330
triadic
#B4305F #5FB430 #305FB4
tetradic
#B4305F #A1B430 #30B485 #4330B4
square
#B4305F #A1B430 #30B485 #4330B4
split-complementary
#B4305F #30B443 #30A1B4
monochromatic
#53162C #842346 #B4305F #D1517E #DD81A2

Accessibility & contrast

On white

5.95
#B4305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4305F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4305F#FFFFFF#000000##FFFFFF
##B4305F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5360
Deuteranopia (green-blind)
#726D5C
Tritanopia (blue-blind)
#C41744
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b4305f;
/* rgb */ color: rgb(180, 48, 95);
/* oklch */ color: oklch(52.4% 0.171 3.8);
Tailwind
colors: {
  custom: {
    50: '#d0738c',
    500: '#b4305f',
    950: '#000000',
  },
}
SCSS
$custom: #b4305f;
$custom-light: #d0738c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4305f",
  "rgb": {
    "r": 180,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 338.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52418,
    "c": 0.17106,
    "h": 3.8
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#B4305F
secondary
#79C6AB
accent
#E1AA47
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4305F

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

Preview Lab → · Contrast checker → · Palette generator →

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