#B42A2F#B42A2F

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

Color values

HEX#B42A2F
RGBrgb(180, 42, 47)
HSLhsl(358, 62%, 44%)
HSVhsv(358, 77%, 71%)
CMYKcmyk(0%, 76.7%, 73.9%, 29.4%)
CIE-LABlab(40.52, 54.59, 31.75)
CIE-LCHlch(40.52, 63.15, 30.18°)
OKLaboklab(50.84% 0.1587 0.0717)
OKLCHoklch(50.84% 0.174 24.3)
XYZxyz(20.1658, 11.5676, 3.8597)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A2F #2AB4AF
analogous
#B42A74 #B42A2F #B46A2A
triadic
#B42A2F #2FB42A #2A2FB4
tetradic
#B42A2F #74B42A #2AB4AF #6A2AB4
square
#B42A2F #74B42A #2AB4AF #6A2AB4
split-complementary
#B42A2F #2AB46A #2A74B4
monochromatic
#511315 #821E22 #B42A2F #D4474C #E0797C

Accessibility & contrast

On white

6.34
#B42A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42A2F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42A2F#FFFFFF#000000##FFFFFF
##B42A2F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a2f;
/* rgb */ color: rgb(180, 42, 47);
/* oklch */ color: oklch(50.8% 0.174 24.3);
Tailwind
colors: {
  custom: {
    50: '#d37068',
    500: '#b42a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b42a2f;
$custom-light: #d37068;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a2f",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 357.826,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.17419,
    "h": 24.3
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#B42A2F
secondary
#72C8C4
accent
#E5DF43
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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