#B42939#B42939

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

Color values

HEX#B42939
RGBrgb(180, 41, 57)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 71%)
CMYKcmyk(0%, 77.2%, 68.3%, 29.4%)
CIE-LABlab(40.55, 55.39, 25.72)
CIE-LCHlch(40.55, 61.07, 24.91°)
OKLaboklab(50.91% 0.1635 0.0603)
OKLCHoklch(50.91% 0.174 20.2)
XYZxyz(20.3561, 11.5877, 5.0349)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42939 #29B4A4
analogous
#B4297E #B42939 #B45F29
triadic
#B42939 #39B429 #2939B4
tetradic
#B42939 #7EB429 #29B4A4 #5F29B4
square
#B42939 #7EB429 #29B4A4 #5F29B4
split-complementary
#B42939 #29B45F #297EB4
monochromatic
#501219 #821E29 #B42939 #D54556 #E07783

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42939#FFFFFF#000000##FFFFFF
##B429391.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)
#524D38
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42939;
/* rgb */ color: rgb(180, 41, 57);
/* oklch */ color: oklch(50.9% 0.174 20.2);
Tailwind
colors: {
  custom: {
    50: '#d26f6f',
    500: '#b42939',
    950: '#000000',
  },
}
SCSS
$custom: #b42939;
$custom-light: #d26f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b42939",
  "rgb": {
    "r": 180,
    "g": 41,
    "b": 57
  },
  "hsl": {
    "h": 353.094,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.17422,
    "h": 20.2
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#B42939
secondary
#71C8BE
accent
#E6D342
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160807
muted
#847B7A

Preview Lab

Preview with #B42939

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

Preview Lab → · Contrast checker → · Palette generator →

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