#B42829#B42829

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

Color values

HEX#B42829
RGBrgb(180, 40, 41)
HSLhsl(360, 64%, 43%)
HSVhsv(360, 78%, 71%)
CMYKcmyk(0%, 77.8%, 77.2%, 29.4%)
CIE-LABlab(40.22, 54.99, 34.94)
CIE-LCHlch(40.22, 65.15, 32.43°)
OKLaboklab(50.59% 0.1587 0.0772)
OKLCHoklch(50.59% 0.176 25.9)
XYZxyz(19.9838, 11.3841, 3.2425)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42829 #28B4B3
analogous
#B4286F #B42829 #B46D28
triadic
#B42829 #29B428 #2829B4
tetradic
#B42829 #6FB428 #28B4B3 #6D28B4
square
#B42829 #6FB428 #28B4B3 #6D28B4
split-complementary
#B42829 #28B46D #286FB4
monochromatic
#501212 #821D1E #B42829 #D54445 #E17677

Accessibility & contrast

On white

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

On black

3.28
#B42829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B42829#FFFFFF#000000##FFFFFF
##B428291.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b42829;
/* rgb */ color: rgb(180, 40, 41);
/* oklch */ color: oklch(50.6% 0.176 25.9);
Tailwind
colors: {
  custom: {
    50: '#d46f63',
    500: '#b42829',
    950: '#000000',
  },
}
SCSS
$custom: #b42829;
$custom-light: #d46f63;
$custom-dark: #000000;
JSON
{
  "hex": "#b42829",
  "rgb": {
    "r": 180,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.17645,
    "h": 25.9
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#B42829
secondary
#70C8C7
accent
#E7E541
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B42829

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

Preview Lab → · Contrast checker → · Palette generator →

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