#B42A2E#B42A2E

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

Color values

HEX#B42A2E
RGBrgb(180, 42, 46)
HSLhsl(358, 62%, 44%)
HSVhsv(358, 77%, 71%)
CMYKcmyk(0%, 76.7%, 74.4%, 29.4%)
CIE-LABlab(40.51, 54.55, 32.33)
CIE-LCHlch(40.51, 63.41, 30.65°)
OKLaboklab(50.82% 0.1584 0.0728)
OKLCHoklch(50.82% 0.174 24.7)
XYZxyz(20.1458, 11.5596, 3.7547)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A2E #2AB4B0
analogous
#B42A73 #B42A2E #B46B2A
triadic
#B42A2E #2EB42A #2A2EB4
tetradic
#B42A2E #73B42A #2AB4B0 #6B2AB4
square
#B42A2E #73B42A #2AB4B0 #6B2AB4
split-complementary
#B42A2E #2AB46B #2A73B4
monochromatic
#511315 #821E21 #B42A2E #D4474B #E0797C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42A2E#FFFFFF#000000##FFFFFF
##B42A2E1.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)
#544C2D
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#C6002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a2e;
/* rgb */ color: rgb(180, 42, 46);
/* oklch */ color: oklch(50.8% 0.174 24.7);
Tailwind
colors: {
  custom: {
    50: '#d37067',
    500: '#b42a2e',
    950: '#000000',
  },
}
SCSS
$custom: #b42a2e;
$custom-light: #d37067;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a2e",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 358.261,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.1743,
    "h": 24.7
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#B42A2E
secondary
#72C8C5
accent
#E5E143
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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