#B42E2F#B42E2F

#B42E2F is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.171 H 25.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B42E2F
RGBrgb(180, 46, 47)
HSLhsl(360, 59%, 44%)
HSVhsv(360, 74%, 71%)
CMYKcmyk(0%, 74.4%, 73.9%, 29.4%)
CIE-LABlab(41.00, 53.25, 32.30)
CIE-LCHlch(41.00, 62.28, 31.24°)
OKLaboklab(51.2% 0.1545 0.0729)
OKLCHoklch(51.2% 0.171 25.3)
XYZxyz(20.3148, 11.8657, 3.9094)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E2F #2EB4B3
analogous
#B42E72 #B42E2F #B4702E
triadic
#B42E2F #2FB42E #2E2FB4
tetradic
#B42E2F #72B42E #2EB4B3 #702EB4
square
#B42E2F #72B42E #2EB4B3 #702EB4
split-complementary
#B42E2F #2EB470 #2E72B4
monochromatic
#531516 #832222 #B42E2F #D24E4F #DE7E7F

Accessibility & contrast

On white

6.23
#B42E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B42E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42E2F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42E2F#FFFFFF#000000##FFFFFF
##B42E2F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2E
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#C60030
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42e2f;
/* rgb */ color: rgb(180, 46, 47);
/* oklch */ color: oklch(51.2% 0.171 25.3);
Tailwind
colors: {
  custom: {
    50: '#d37168',
    500: '#b42e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b42e2f;
$custom-light: #d37168;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e2f",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.552,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51196,
    "c": 0.17083,
    "h": 25.3
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#B42E2F
secondary
#77C7C6
accent
#E2E145
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B42E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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