#B42F18#B42F18

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

Color values

HEX#B42F18
RGBrgb(180, 47, 24)
HSLhsl(9, 76%, 40%)
HSVhsv(9, 87%, 71%)
CMYKcmyk(0%, 73.9%, 86.7%, 29.4%)
CIE-LABlab(40.91, 52.15, 44.57)
CIE-LCHlch(40.91, 68.60, 40.52°)
OKLaboklab(51.05% 0.1465 0.0924)
OKLCHoklch(51.05% 0.173 32.2)
XYZxyz(20.0062, 11.8054, 2.0892)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F18 #189DB4
analogous
#B4184F #B42F18 #B47D18
triadic
#B42F18 #18B42F #2F18B4
tetradic
#B42F18 #4FB418 #189DB4 #7D18B4
square
#B42F18 #4FB418 #189DB4 #7D18B4
split-complementary
#B42F18 #18B47D #184FB4
monochromatic
#48130A #7E2111 #B42F18 #E24327 #E9725D

Accessibility & contrast

On white

6.25
#B42F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42F18
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42F18#FFFFFF#000000##FFFFFF
##B42F181.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E13
Deuteranopia (green-blind)
#796B0F
Tritanopia (blue-blind)
#C7002B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42f18;
/* rgb */ color: rgb(180, 47, 24);
/* oklch */ color: oklch(51.1% 0.173 32.2);
Tailwind
colors: {
  custom: {
    50: '#d47158',
    500: '#b42f18',
    950: '#000000',
  },
}
SCSS
$custom: #b42f18;
$custom-light: #d47158;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f18",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 8.846,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.51053,
    "c": 0.17322,
    "h": 32.2
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#B42F18
secondary
#5BBCCD
accent
#D7F335
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#160803
muted
#847B78

Preview Lab

Preview with #B42F18

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

Preview Lab → · Contrast checker → · Palette generator →

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