#B42D2B#B42D2B

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

Color values

HEX#B42D2B
RGBrgb(180, 45, 43)
HSLhsl(1, 61%, 44%)
HSVhsv(1, 76%, 71%)
CMYKcmyk(0%, 75%, 76.1%, 29.4%)
CIE-LABlab(40.83, 53.43, 34.44)
CIE-LCHlch(40.83, 63.57, 32.81°)
OKLaboklab(51.05% 0.1542 0.0766)
OKLCHoklch(51.05% 0.172 26.4)
XYZxyz(20.1992, 11.7576, 3.4909)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D2B #2BB2B4
analogous
#B42B6D #B42D2B #B4712B
triadic
#B42D2B #2BB42D #2D2BB4
tetradic
#B42D2B #6DB42B #2BB2B4 #712BB4
square
#B42D2B #6DB42B #2BB2B4 #712BB4
split-complementary
#B42D2B #2BB471 #2B6DB4
monochromatic
#511413 #83211F #B42D2B #D34B49 #DF7C7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42D2B#FFFFFF#000000##FFFFFF
##B42D2B1.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)
#564E29
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42d2b;
/* rgb */ color: rgb(180, 45, 43);
/* oklch */ color: oklch(51.1% 0.172 26.4);
Tailwind
colors: {
  custom: {
    50: '#d37165',
    500: '#b42d2b',
    950: '#000000',
  },
}
SCSS
$custom: #b42d2b;
$custom-light: #d37165;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d2b",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 43
  },
  "hsl": {
    "h": 0.876,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.17218,
    "h": 26.4
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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