#B42F1B#B42F1B

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

Color values

HEX#B42F1B
RGBrgb(180, 47, 27)
HSLhsl(8, 74%, 41%)
HSVhsv(8, 85%, 71%)
CMYKcmyk(0%, 73.9%, 85%, 29.4%)
CIE-LABlab(40.93, 52.22, 43.16)
CIE-LCHlch(40.93, 67.75, 39.58°)
OKLaboklab(51.08% 0.1473 0.0904)
OKLCHoklch(51.08% 0.173 31.6)
XYZxyz(20.0392, 11.8186, 2.2628)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F1B #1BA0B4
analogous
#B41B53 #B42F1B #B47B1B
triadic
#B42F1B #1BB42F #2F1BB4
tetradic
#B42F1B #53B41B #1BA0B4 #7B1BB4
square
#B42F1B #53B41B #1BA0B4 #7B1BB4
split-complementary
#B42F1B #1BB47B #1B53B4
monochromatic
#4A130B #7F2113 #B42F1B #DF442D #E77362

Accessibility & contrast

On white

6.24
#B42F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F1B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F1B#FFFFFF#000000##FFFFFF
##B42F1B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#796B13
Tritanopia (blue-blind)
#C7002C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42f1b;
/* rgb */ color: rgb(180, 47, 27);
/* oklch */ color: oklch(51.1% 0.173 31.6);
Tailwind
colors: {
  custom: {
    50: '#d4715a',
    500: '#b42f1b',
    950: '#000000',
  },
}
SCSS
$custom: #b42f1b;
$custom-light: #d4715a;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f1b",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 27
  },
  "hsl": {
    "h": 7.843,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.17281,
    "h": 31.6
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#B42F1B
secondary
#5FBECC
accent
#D8F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B42F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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