#B42A2A#B42A2A

#B42A2A is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.8% C 0.175 H 26.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B42A2A
RGBrgb(180, 42, 42)
HSLhsl(0, 62%, 44%)
HSVhsv(0, 77%, 71%)
CMYKcmyk(0%, 76.7%, 76.7%, 29.4%)
CIE-LABlab(40.46, 54.39, 34.62)
CIE-LCHlch(40.46, 64.47, 32.48°)
OKLaboklab(50.77% 0.157 0.0768)
OKLCHoklch(50.77% 0.175 26.1)
XYZxyz(20.0706, 11.5296, 3.3587)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A2A #2AB4B4
analogous
#B42A6F #B42A2A #B46F2A
triadic
#B42A2A #2AB42A #2A2AB4
tetradic
#B42A2A #6FB42A #2AB4B4 #6F2AB4
square
#B42A2A #6FB42A #2AB4B4 #6F2AB4
split-complementary
#B42A2A #2AB46F #2A6FB4
monochromatic
#511313 #821E1E #B42A2A #D44747 #E07979

Accessibility & contrast

On white

6.35
#B42A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B42A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42A2A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A2A#FFFFFF#000000##FFFFFF
##B42A2A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#C6002C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a2a;
/* rgb */ color: rgb(180, 42, 42);
/* oklch */ color: oklch(50.8% 0.175 26.1);
Tailwind
colors: {
  custom: {
    50: '#d36f64',
    500: '#b42a2a',
    950: '#000000',
  },
}
SCSS
$custom: #b42a2a;
$custom-light: #d36f64;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a2a",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50772,
    "c": 0.17476,
    "h": 26.1
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#B42A2A
secondary
#72C8C8
accent
#E5E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B42A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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