#B4254F#B4254F

#B4254F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.179 H 9.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B4254F
RGBrgb(180, 37, 79)
HSLhsl(342, 66%, 43%)
HSVhsv(342, 79%, 71%)
CMYKcmyk(0%, 79.4%, 56.1%, 29.4%)
CIE-LABlab(40.56, 57.97, 11.94)
CIE-LCHlch(40.56, 59.19, 11.63°)
OKLaboklab(51.06% 0.176 0.0301)
OKLCHoklch(51.06% 0.179 9.7)
XYZxyz(20.8973, 11.5940, 8.5331)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4254F #25B48A
analogous
#B42596 #B4254F #B44325
triadic
#B4254F #4FB425 #254FB4
tetradic
#B4254F #96B425 #25B48A #4325B4
square
#B4254F #96B425 #25B48A #4325B4
split-complementary
#B4254F #25B443 #2596B4
monochromatic
#4E1022 #811B39 #B4254F #D73F6C #E27193

Accessibility & contrast

On white

6.33
#B4254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B4254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4254F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4254F#FFFFFF#000000##FFFFFF
##B4254F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D50
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b4254f;
/* rgb */ color: rgb(180, 37, 79);
/* oklch */ color: oklch(51.1% 0.179 9.7);
Tailwind
colors: {
  custom: {
    50: '#d16e80',
    500: '#b4254f',
    950: '#000000',
  },
}
SCSS
$custom: #b4254f;
$custom-light: #d16e80;
$custom-dark: #000000;
JSON
{
  "hex": "#b4254f",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 342.378,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51058,
    "c": 0.17855,
    "h": 9.7
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#B4254F
secondary
#6CC9AE
accent
#E9B73F
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B4254F

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

Preview Lab → · Contrast checker → · Palette generator →

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