#B12838#B12838

#B12838 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.172 H 20.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B12838
RGBrgb(177, 40, 56)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 77.4%, 68.4%, 30.6%)
CIE-LABlab(39.84, 54.75, 25.32)
CIE-LCHlch(39.84, 60.32, 24.82°)
OKLaboklab(50.27% 0.1616 0.0594)
OKLCHoklch(50.27% 0.172 20.2)
XYZxyz(19.6062, 11.1532, 4.8610)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12838 #28B1A1
analogous
#B1287C #B12838 #B15D28
triadic
#B12838 #38B128 #2838B1
tetradic
#B12838 #7CB128 #28B1A1 #5D28B1
square
#B12838 #7CB128 #28B1A1 #5D28B1
split-complementary
#B12838 #28B15D #287CB1
monochromatic
#4D1118 #7F1D28 #B12838 #D44253 #E07480

Accessibility & contrast

On white

6.50
#B12838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B12838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12838
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12838#FFFFFF#000000##FFFFFF
##B128381.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B38
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12838;
/* rgb */ color: rgb(177, 40, 56);
/* oklch */ color: oklch(50.3% 0.172 20.2);
Tailwind
colors: {
  custom: {
    50: '#d06f6e',
    500: '#b12838',
    950: '#000000',
  },
}
SCSS
$custom: #b12838;
$custom-light: #d06f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b12838",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 352.993,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.17219,
    "h": 20.2
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#B12838
secondary
#6EC7BC
accent
#E6D342
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12838

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

Preview Lab → · Contrast checker → · Palette generator →

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