#B42938#B42938

#B42938 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.174 H 20.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B42938
RGBrgb(180, 41, 56)
HSLhsl(354, 63%, 43%)
HSVhsv(354, 77%, 71%)
CMYKcmyk(0%, 77.2%, 68.9%, 29.4%)
CIE-LABlab(40.54, 55.33, 26.32)
CIE-LCHlch(40.54, 61.27, 25.43°)
OKLaboklab(50.89% 0.1631 0.0614)
OKLCHoklch(50.89% 0.174 20.6)
XYZxyz(20.3314, 11.5778, 4.9048)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42938 #29B4A5
analogous
#B4297D #B42938 #B45F29
triadic
#B42938 #38B429 #2938B4
tetradic
#B42938 #7DB429 #29B4A5 #5F29B4
square
#B42938 #7DB429 #29B4A5 #5F29B4
split-complementary
#B42938 #29B45F #297DB4
monochromatic
#501219 #821E28 #B42938 #D54555 #E07783

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42938#FFFFFF#000000##FFFFFF
##B429381.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)
#524D37
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42938;
/* rgb */ color: rgb(180, 41, 56);
/* oklch */ color: oklch(50.9% 0.174 20.6);
Tailwind
colors: {
  custom: {
    50: '#d36f6e',
    500: '#b42938',
    950: '#000000',
  },
}
SCSS
$custom: #b42938;
$custom-light: #d36f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b42938",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 353.525,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.17428,
    "h": 20.6
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#B42938
secondary
#71C8BE
accent
#E6D442
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160807
muted
#847B7A

Preview Lab

Preview with #B42938

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

Preview Lab → · Contrast checker → · Palette generator →

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