#B4254C#B4254C

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

Color values

HEX#B4254C
RGBrgb(180, 37, 76)
HSLhsl(344, 66%, 43%)
HSVhsv(344, 79%, 71%)
CMYKcmyk(0%, 79.4%, 57.8%, 29.4%)
CIE-LABlab(40.49, 57.75, 13.74)
CIE-LCHlch(40.49, 59.37, 13.38°)
OKLaboklab(50.98% 0.1748 0.0343)
OKLCHoklch(50.98% 0.178 11.1)
XYZxyz(20.7905, 11.5513, 7.9710)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4254C #25B48D
analogous
#B42594 #B4254C #B44525
triadic
#B4254C #4CB425 #254CB4
tetradic
#B4254C #94B425 #25B48D #4525B4
square
#B4254C #94B425 #25B48D #4525B4
split-complementary
#B4254C #25B445 #2594B4
monochromatic
#4E1021 #811B37 #B4254C #D73F68 #E27190

Accessibility & contrast

On white

6.35
#B4254C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B4254C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4254C
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4254C#FFFFFF#000000##FFFFFF
##B4254C1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4D
Deuteranopia (green-blind)
#726A48
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b4254c;
/* rgb */ color: rgb(180, 37, 76);
/* oklch */ color: oklch(51.0% 0.178 11.1);
Tailwind
colors: {
  custom: {
    50: '#d16e7d',
    500: '#b4254c',
    950: '#000000',
  },
}
SCSS
$custom: #b4254c;
$custom-light: #d16e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4254c",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 343.636,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50984,
    "c": 0.17816,
    "h": 11.1
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#B4254C
secondary
#6CC9AF
accent
#E9BB3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B4254C

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

Preview Lab → · Contrast checker → · Palette generator →

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