#B42E28#B42E28

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

Color values

HEX#B42E28
RGBrgb(180, 46, 40)
HSLhsl(3, 64%, 43%)
HSVhsv(3, 78%, 71%)
CMYKcmyk(0%, 74.4%, 77.8%, 29.4%)
CIE-LABlab(40.92, 52.97, 36.26)
CIE-LCHlch(40.92, 64.19, 34.39°)
OKLaboklab(51.11% 0.1521 0.0798)
OKLCHoklch(51.11% 0.172 27.7)
XYZxyz(20.1848, 11.8136, 3.2245)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42E28 #28AEB4
analogous
#B42868 #B42E28 #B47428
triadic
#B42E28 #28B42E #2E28B4
tetradic
#B42E28 #68B428 #28AEB4 #7428B4
square
#B42E28 #68B428 #28AEB4 #7428B4
split-complementary
#B42E28 #28B474 #2868B4
monochromatic
#501412 #82211D #B42E28 #D54A44 #E17A76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42E28#FFFFFF#000000##FFFFFF
##B42E281.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)
#564E26
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#C6002E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b42e28;
/* rgb */ color: rgb(180, 46, 40);
/* oklch */ color: oklch(51.1% 0.172 27.7);
Tailwind
colors: {
  custom: {
    50: '#d37163',
    500: '#b42e28',
    950: '#000000',
  },
}
SCSS
$custom: #b42e28;
$custom-light: #d37163;
$custom-dark: #000000;
JSON
{
  "hex": "#b42e28",
  "rgb": {
    "r": 180,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 2.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.17175,
    "h": 27.7
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#B42E28
secondary
#70C4C8
accent
#E0E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B42E28

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

Preview Lab → · Contrast checker → · Palette generator →

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