#B4254B#B4254B

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

Color values

HEX#B4254B
RGBrgb(180, 37, 75)
HSLhsl(344, 66%, 43%)
HSVhsv(344, 79%, 71%)
CMYKcmyk(0%, 79.4%, 58.3%, 29.4%)
CIE-LABlab(40.47, 57.68, 14.34)
CIE-LCHlch(40.47, 59.44, 13.96°)
OKLaboklab(50.96% 0.1744 0.0357)
OKLCHoklch(50.96% 0.178 11.6)
XYZxyz(20.7560, 11.5375, 7.7893)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4254B #25B48E
analogous
#B42593 #B4254B #B44625
triadic
#B4254B #4BB425 #254BB4
tetradic
#B4254B #93B425 #25B48E #4625B4
square
#B4254B #93B425 #25B48E #4625B4
split-complementary
#B4254B #25B446 #2593B4
monochromatic
#4E1021 #811B36 #B4254B #D73F67 #E2718F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4254B#FFFFFF#000000##FFFFFF
##B4254B1.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)
#4D4D4C
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b4254b;
/* rgb */ color: rgb(180, 37, 75);
/* oklch */ color: oklch(51.0% 0.178 11.6);
Tailwind
colors: {
  custom: {
    50: '#d16e7d',
    500: '#b4254b',
    950: '#000000',
  },
}
SCSS
$custom: #b4254b;
$custom-light: #d16e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4254b",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 344.056,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.17805,
    "h": 11.6
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#B4254B
secondary
#6CC9B0
accent
#E9BC3F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B4254B

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

Preview Lab → · Contrast checker → · Palette generator →

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