#B42828#B42828

#B42828 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.177 H 26.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B42828
RGBrgb(180, 40, 40)
HSLhsl(0, 64%, 43%)
HSVhsv(0, 78%, 71%)
CMYKcmyk(0%, 77.8%, 77.8%, 29.4%)
CIE-LABlab(40.21, 54.95, 35.50)
CIE-LCHlch(40.21, 65.42, 32.87°)
OKLaboklab(50.58% 0.1583 0.0781)
OKLCHoklch(50.58% 0.177 26.3)
XYZxyz(19.9666, 11.3773, 3.1518)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42828 #28B4B4
analogous
#B4286E #B42828 #B46E28
triadic
#B42828 #28B428 #2828B4
tetradic
#B42828 #6EB428 #28B4B4 #6E28B4
square
#B42828 #6EB428 #28B4B4 #6E28B4
split-complementary
#B42828 #28B46E #286EB4
monochromatic
#501212 #821D1D #B42828 #D54444 #E17676

Accessibility & contrast

On white

6.41
#B42828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B42828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42828
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42828#FFFFFF#000000##FFFFFF
##B428281.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#C6002A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42828;
/* rgb */ color: rgb(180, 40, 40);
/* oklch */ color: oklch(50.6% 0.177 26.3);
Tailwind
colors: {
  custom: {
    50: '#d46f62',
    500: '#b42828',
    950: '#000000',
  },
}
SCSS
$custom: #b42828;
$custom-light: #d46f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b42828",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.17657,
    "h": 26.3
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#B42828
secondary
#70C8C8
accent
#E7E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B42828

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

Preview Lab → · Contrast checker → · Palette generator →

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