#B42948#B42948

#B42948 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.174 H 13.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B42948
RGBrgb(180, 41, 72)
HSLhsl(347, 63%, 43%)
HSVhsv(347, 77%, 71%)
CMYKcmyk(0%, 77.2%, 60%, 29.4%)
CIE-LABlab(40.83, 56.28, 16.72)
CIE-LCHlch(40.83, 58.71, 16.55°)
OKLaboklab(51.21% 0.1694 0.0412)
OKLCHoklch(51.21% 0.174 13.7)
XYZxyz(20.7871, 11.7601, 7.3050)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42948 #29B495
analogous
#B4298D #B42948 #B45029
triadic
#B42948 #48B429 #2948B4
tetradic
#B42948 #8DB429 #29B495 #5029B4
square
#B42948 #8DB429 #29B495 #5029B4
split-complementary
#B42948 #29B450 #298DB4
monochromatic
#501220 #821E34 #B42948 #D54565 #E0778F

Accessibility & contrast

On white

6.27
#B42948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42948
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42948#FFFFFF#000000##FFFFFF
##B429481.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E48
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#C50036
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42948;
/* rgb */ color: rgb(180, 41, 72);
/* oklch */ color: oklch(51.2% 0.174 13.7);
Tailwind
colors: {
  custom: {
    50: '#d2707a',
    500: '#b42948',
    950: '#000000',
  },
}
SCSS
$custom: #b42948;
$custom-light: #d2707a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42948",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 346.619,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.1743,
    "h": 13.7
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#B42948
secondary
#71C8B4
accent
#E6C142
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #B42948

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

Preview Lab → · Contrast checker → · Palette generator →

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