#B42A2D#B42A2D

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

Color values

HEX#B42A2D
RGBrgb(180, 42, 45)
HSLhsl(359, 62%, 44%)
HSVhsv(359, 77%, 71%)
CMYKcmyk(0%, 76.7%, 75%, 29.4%)
CIE-LABlab(40.49, 54.51, 32.91)
CIE-LCHlch(40.49, 63.67, 31.12°)
OKLaboklab(50.81% 0.158 0.0738)
OKLCHoklch(50.81% 0.174 25)
XYZxyz(20.1264, 11.5518, 3.6521)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42A2D #2AB4B1
analogous
#B42A72 #B42A2D #B46C2A
triadic
#B42A2D #2DB42A #2A2DB4
tetradic
#B42A2D #72B42A #2AB4B1 #6C2AB4
square
#B42A2D #72B42A #2AB4B1 #6C2AB4
split-complementary
#B42A2D #2AB46C #2A72B4
monochromatic
#511314 #821E21 #B42A2D #D4474A #E0797B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42A2D#FFFFFF#000000##FFFFFF
##B42A2D1.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)
#544C2C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#C6002D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42a2d;
/* rgb */ color: rgb(180, 42, 45);
/* oklch */ color: oklch(50.8% 0.174 25.0);
Tailwind
colors: {
  custom: {
    50: '#d37066',
    500: '#b42a2d',
    950: '#000000',
  },
}
SCSS
$custom: #b42a2d;
$custom-light: #d37066;
$custom-dark: #000000;
JSON
{
  "hex": "#b42a2d",
  "rgb": {
    "r": 180,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 358.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.17441,
    "h": 25
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#B42A2D
secondary
#72C8C6
accent
#E5E243
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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