#B42D2F#B42D2F

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

Color values

HEX#B42D2F
RGBrgb(180, 45, 47)
HSLhsl(359, 60%, 44%)
HSVhsv(359, 75%, 71%)
CMYKcmyk(0%, 75%, 73.9%, 29.4%)
CIE-LABlab(40.88, 53.59, 32.16)
CIE-LCHlch(40.88, 62.50, 30.96°)
OKLaboklab(51.1% 0.1556 0.0726)
OKLCHoklch(51.1% 0.172 25)
XYZxyz(20.2762, 11.7884, 3.8965)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42D2F #2DB4B2
analogous
#B42D73 #B42D2F #B46F2D
triadic
#B42D2F #2FB42D #2D2FB4
tetradic
#B42D2F #73B42D #2DB4B2 #6F2DB4
square
#B42D2F #73B42D #2DB4B2 #6F2DB4
split-complementary
#B42D2F #2DB46F #2D73B4
monochromatic
#521515 #832122 #B42D2F #D24C4E #DE7D7E

Accessibility & contrast

On white

6.26
#B42D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B42D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42D2F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42D2F#FFFFFF#000000##FFFFFF
##B42D2F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C6002F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42d2f;
/* rgb */ color: rgb(180, 45, 47);
/* oklch */ color: oklch(51.1% 0.172 25.0);
Tailwind
colors: {
  custom: {
    50: '#d37168',
    500: '#b42d2f',
    950: '#000000',
  },
}
SCSS
$custom: #b42d2f;
$custom-light: #d37168;
$custom-dark: #000000;
JSON
{
  "hex": "#b42d2f",
  "rgb": {
    "r": 180,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 359.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.17169,
    "h": 25
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#B42D2F
secondary
#76C7C6
accent
#E3E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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