#B4254A#B4254A

#B4254A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.178 H 12.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B4254A
RGBrgb(180, 37, 74)
HSLhsl(344, 66%, 43%)
HSVhsv(344, 79%, 71%)
CMYKcmyk(0%, 79.4%, 58.9%, 29.4%)
CIE-LABlab(40.45, 57.62, 14.94)
CIE-LCHlch(40.45, 59.52, 14.54°)
OKLaboklab(50.94% 0.174 0.0371)
OKLCHoklch(50.94% 0.178 12)
XYZxyz(20.7221, 11.5239, 7.6104)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4254A #25B48F
analogous
#B42591 #B4254A #B44825
triadic
#B4254A #4AB425 #254AB4
tetradic
#B4254A #91B425 #25B48F #4825B4
square
#B4254A #91B425 #25B48F #4825B4
split-complementary
#B4254A #25B448 #2591B4
monochromatic
#4E1020 #811B35 #B4254A #D73F66 #E2718F

Accessibility & contrast

On white

6.36
#B4254A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B4254A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4254A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4254A#FFFFFF#000000##FFFFFF
##B4254A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4A
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#C50035
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b4254a;
/* rgb */ color: rgb(180, 37, 74);
/* oklch */ color: oklch(50.9% 0.178 12.0);
Tailwind
colors: {
  custom: {
    50: '#d26e7c',
    500: '#b4254a',
    950: '#000000',
  },
}
SCSS
$custom: #b4254a;
$custom-light: #d26e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4254a",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 344.476,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.17795,
    "h": 12
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#B4254A
secondary
#6CC9B1
accent
#E9BD3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B4254A

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

Preview Lab → · Contrast checker → · Palette generator →

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