#B42728#B42728

#B42728 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.177 H 26.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B42728
RGBrgb(180, 39, 40)
HSLhsl(360, 64%, 43%)
HSVhsv(360, 78%, 71%)
CMYKcmyk(0%, 78.3%, 77.8%, 29.4%)
CIE-LABlab(40.10, 55.26, 35.39)
CIE-LCHlch(40.10, 65.62, 32.63°)
OKLaboklab(50.5% 0.1593 0.0779)
OKLCHoklch(50.5% 0.177 26)
XYZxyz(19.9333, 11.3107, 3.1407)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42728 #27B4B3
analogous
#B4276F #B42728 #B46C27
triadic
#B42728 #28B427 #2728B4
tetradic
#B42728 #6FB427 #27B4B3 #6C27B4
square
#B42728 #6FB427 #27B4B3 #6C27B4
split-complementary
#B42728 #27B46C #276FB4
monochromatic
#4F1112 #821C1D #B42728 #D64243 #E17475

Accessibility & contrast

On white

6.44
#B42728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B42728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42728
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42728#FFFFFF#000000##FFFFFF
##B427281.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#C60029
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b42728;
/* rgb */ color: rgb(180, 39, 40);
/* oklch */ color: oklch(50.5% 0.177 26.0);
Tailwind
colors: {
  custom: {
    50: '#d46e62',
    500: '#b42728',
    950: '#000000',
  },
}
SCSS
$custom: #b42728;
$custom-light: #d46e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b42728",
  "rgb": {
    "r": 180,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.574,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.17732,
    "h": 26
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#B42728
secondary
#6FC8C8
accent
#E7E640
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B42728

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

Preview Lab → · Contrast checker → · Palette generator →

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