#B42D2A#B42D2A

#B42D2A is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.172 H 26.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B42D2A
RGBrgb(180, 45, 42)
HSLhsl(1, 62%, 44%)
HSVhsv(1, 77%, 71%)
CMYKcmyk(0%, 75%, 76.7%, 29.4%)
CIE-LABlab(40.82, 53.39, 35.01)
CIE-LCHlch(40.82, 63.84, 33.25°)
OKLaboklab(51.04% 0.1538 0.0776)
OKLCHoklch(51.04% 0.172 26.8)
XYZxyz(20.1811, 11.7504, 3.3955)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D2A #2AB1B4
analogous
#B42A6C #B42D2A #B4722A
triadic
#B42D2A #2AB42D #2D2AB4
tetradic
#B42D2A #6CB42A #2AB1B4 #722AB4
square
#B42D2A #6CB42A #2AB1B4 #722AB4
split-complementary
#B42D2A #2AB472 #2A6CB4
monochromatic
#511413 #82211E #B42D2A #D44A47 #E07B79

Accessibility & contrast

On white

6.27
#B42D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B42D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D2A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D2A#FFFFFF#000000##FFFFFF
##B42D2A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42d2a;
/* rgb */ color: rgb(180, 45, 42);
/* oklch */ color: oklch(51.0% 0.172 26.8);
Tailwind
colors: {
  custom: {
    50: '#d37164',
    500: '#b42d2a',
    950: '#000000',
  },
}
SCSS
$custom: #b42d2a;
$custom-light: #d37164;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d2a",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 1.304,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.17232,
    "h": 26.8
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#B42D2A
secondary
#72C6C8
accent
#E2E543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B42D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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