#B42E2B#B42E2B

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

Color values

HEX#B42E2B
RGBrgb(180, 46, 43)
HSLhsl(1, 61%, 44%)
HSVhsv(1, 76%, 71%)
CMYKcmyk(0%, 74.4%, 76.1%, 29.4%)
CIE-LABlab(40.95, 53.08, 34.58)
CIE-LCHlch(40.95, 63.35, 33.08°)
OKLaboklab(51.14% 0.1531 0.0769)
OKLCHoklch(51.14% 0.171 26.7)
XYZxyz(20.2378, 11.8348, 3.5038)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E2B #2BB1B4
analogous
#B42B6C #B42E2B #B4722B
triadic
#B42E2B #2BB42E #2E2BB4
tetradic
#B42E2B #6CB42B #2BB1B4 #722BB4
square
#B42E2B #6CB42B #2BB1B4 #722BB4
split-complementary
#B42E2B #2BB472 #2B6CB4
monochromatic
#511513 #83211F #B42E2B #D34C49 #DF7C7A

Accessibility & contrast

On white

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

On black

3.37
#B42E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B42E2B#FFFFFF#000000##FFFFFF
##B42E2B1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E29
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42e2b;
/* rgb */ color: rgb(180, 46, 43);
/* oklch */ color: oklch(51.1% 0.171 26.7);
Tailwind
colors: {
  custom: {
    50: '#d37165',
    500: '#b42e2b',
    950: '#000000',
  },
}
SCSS
$custom: #b42e2b;
$custom-light: #d37165;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e2b",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.314,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51143,
    "c": 0.17135,
    "h": 26.7
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#B42E2B
secondary
#73C6C7
accent
#E1E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B42E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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