#B42548#B42548

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

Color values

HEX#B42548
RGBrgb(180, 37, 72)
HSLhsl(345, 66%, 43%)
HSVhsv(345, 79%, 71%)
CMYKcmyk(0%, 79.4%, 60%, 29.4%)
CIE-LABlab(40.41, 57.48, 16.15)
CIE-LCHlch(40.41, 59.71, 15.69°)
OKLaboklab(50.89% 0.1732 0.0398)
OKLCHoklch(50.89% 0.178 12.9)
XYZxyz(20.6558, 11.4974, 7.2612)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42548 #25B491
analogous
#B4258F #B42548 #B44A25
triadic
#B42548 #48B425 #2548B4
tetradic
#B42548 #8FB425 #25B491 #4A25B4
square
#B42548 #8FB425 #25B491 #4A25B4
split-complementary
#B42548 #25B44A #258FB4
monochromatic
#4E101F #811B34 #B42548 #D73F64 #E2718D

Accessibility & contrast

On white

6.37
#B42548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42548
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42548#FFFFFF#000000##FFFFFF
##B425481.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C48
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#C50034
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42548;
/* rgb */ color: rgb(180, 37, 72);
/* oklch */ color: oklch(50.9% 0.178 12.9);
Tailwind
colors: {
  custom: {
    50: '#d26e7a',
    500: '#b42548',
    950: '#000000',
  },
}
SCSS
$custom: #b42548;
$custom-light: #d26e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42548",
  "rgb": {
    "r": 180,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 345.315,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.17777,
    "h": 12.9
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#B42548
secondary
#6CC9B2
accent
#E9BF3F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42548

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

Preview Lab → · Contrast checker → · Palette generator →

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