#B42827#B42827

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

Color values

HEX#B42827
RGBrgb(180, 40, 39)
HSLhsl(0, 64%, 43%)
HSVhsv(0, 78%, 71%)
CMYKcmyk(0%, 77.8%, 78.3%, 29.4%)
CIE-LABlab(40.20, 54.91, 36.06)
CIE-LCHlch(40.20, 65.70, 33.29°)
OKLaboklab(50.57% 0.158 0.0791)
OKLCHoklch(50.57% 0.177 26.6)
XYZxyz(19.9498, 11.3705, 3.0634)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42827 #27B3B4
analogous
#B4276C #B42827 #B46F27
triadic
#B42827 #27B428 #2827B4
tetradic
#B42827 #6CB427 #27B3B4 #6F27B4
square
#B42827 #6CB427 #27B3B4 #6F27B4
split-complementary
#B42827 #27B46F #276CB4
monochromatic
#4F1211 #821D1C #B42827 #D64342 #E17574

Accessibility & contrast

On white

6.42
#B42827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42827
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42827#FFFFFF#000000##FFFFFF
##B428271.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B25
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#C6002A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42827;
/* rgb */ color: rgb(180, 40, 39);
/* oklch */ color: oklch(50.6% 0.177 26.6);
Tailwind
colors: {
  custom: {
    50: '#d46f62',
    500: '#b42827',
    950: '#000000',
  },
}
SCSS
$custom: #b42827;
$custom-light: #d46f62;
$custom-dark: #000000;
JSON
{
  "hex": "#b42827",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.426,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.17669,
    "h": 26.6
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B42827

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

Preview Lab → · Contrast checker → · Palette generator →

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