#B42E2A#B42E2A

#B42E2A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.171 H 27.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B42E2A
RGBrgb(180, 46, 42)
HSLhsl(2, 62%, 44%)
HSVhsv(2, 77%, 71%)
CMYKcmyk(0%, 74.4%, 76.7%, 29.4%)
CIE-LABlab(40.94, 53.05, 35.14)
CIE-LCHlch(40.94, 63.63, 33.52°)
OKLaboklab(51.13% 0.1528 0.0779)
OKLCHoklch(51.13% 0.171 27)
XYZxyz(20.2197, 11.8276, 3.4083)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E2A #2AB0B4
analogous
#B42A6B #B42E2A #B4732A
triadic
#B42E2A #2AB42E #2E2AB4
tetradic
#B42E2A #6BB42A #2AB0B4 #732AB4
square
#B42E2A #6BB42A #2AB0B4 #732AB4
split-complementary
#B42E2A #2AB473 #2A6BB4
monochromatic
#511513 #82211E #B42E2A #D44B47 #E07C79

Accessibility & contrast

On white

6.24
#B42E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B42E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E2A
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E2A#FFFFFF#000000##FFFFFF
##B42E2A1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42e2a;
/* rgb */ color: rgb(180, 46, 42);
/* oklch */ color: oklch(51.1% 0.171 27.0);
Tailwind
colors: {
  custom: {
    50: '#d37164',
    500: '#b42e2a',
    950: '#000000',
  },
}
SCSS
$custom: #b42e2a;
$custom-light: #d37164;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e2a",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 1.739,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.17148,
    "h": 27
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#B42E2A
secondary
#72C5C8
accent
#E1E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B42E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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