#B12828#B12828

#B12828 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.174 H 26.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B12828
RGBrgb(177, 40, 40)
HSLhsl(0, 63%, 43%)
HSVhsv(0, 77%, 69%)
CMYKcmyk(0%, 77.4%, 77.4%, 30.6%)
CIE-LABlab(39.62, 54.04, 34.69)
CIE-LCHlch(39.62, 64.22, 32.70°)
OKLaboklab(50.03% 0.1558 0.0766)
OKLCHoklch(50.03% 0.174 26.2)
XYZxyz(19.2756, 11.0209, 3.1194)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12828 #28B1B1
analogous
#B1286C #B12828 #B16C28
triadic
#B12828 #28B128 #2828B1
tetradic
#B12828 #6CB128 #28B1B1 #6C28B1
square
#B12828 #6CB128 #28B1B1 #6C28B1
split-complementary
#B12828 #28B16C #286CB1
monochromatic
#4D1111 #7F1D1D #B12828 #D44242 #E07474

Accessibility & contrast

On white

6.56
#B12828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B12828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12828
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12828#FFFFFF#000000##FFFFFF
##B128281.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#C3002A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b12828;
/* rgb */ color: rgb(177, 40, 40);
/* oklch */ color: oklch(50.0% 0.174 26.2);
Tailwind
colors: {
  custom: {
    50: '#d16e62',
    500: '#b12828',
    950: '#000000',
  },
}
SCSS
$custom: #b12828;
$custom-light: #d16e62;
$custom-dark: #000000;
JSON
{
  "hex": "#b12828",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50032,
    "c": 0.17363,
    "h": 26.2
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#B12828
secondary
#6EC7C7
accent
#E6E642
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79

Preview Lab

Preview with #B12828

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

Preview Lab → · Contrast checker → · Palette generator →

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