#B42F24#B42F24

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

Color values

HEX#B42F24
RGBrgb(180, 47, 36)
HSLhsl(5, 67%, 42%)
HSVhsv(5, 80%, 71%)
CMYKcmyk(0%, 73.9%, 80%, 29.4%)
CIE-LABlab(41.00, 52.48, 38.57)
CIE-LCHlch(41.00, 65.13, 36.31°)
OKLaboklab(51.16% 0.1497 0.0836)
OKLCHoklch(51.16% 0.171 29.2)
XYZxyz(20.1597, 11.8669, 2.8978)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42F24 #24A9B4
analogous
#B42461 #B42F24 #B47724
triadic
#B42F24 #24B42F #2F24B4
tetradic
#B42F24 #61B424 #24A9B4 #7724B4
square
#B42F24 #61B424 #24A9B4 #7724B4
split-complementary
#B42F24 #24B477 #2461B4
monochromatic
#4E1410 #81221A #B42F24 #D8493D #E27970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42F24#FFFFFF#000000##FFFFFF
##B42F241.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)
#574E21
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b42f24;
/* rgb */ color: rgb(180, 47, 36);
/* oklch */ color: oklch(51.2% 0.171 29.2);
Tailwind
colors: {
  custom: {
    50: '#d47260',
    500: '#b42f24',
    950: '#000000',
  },
}
SCSS
$custom: #b42f24;
$custom-light: #d47260;
$custom-dark: #000000;
JSON
{
  "hex": "#b42f24",
  "rgb": {
    "r": 180,
    "g": 47,
    "b": 36
  },
  "hsl": {
    "h": 4.583,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.17149,
    "h": 29.2
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#B42F24
secondary
#6BC2C9
accent
#DCEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79

Preview Lab

Preview with #B42F24

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

Preview Lab → · Contrast checker → · Palette generator →

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