#B12836#B12836

#B12836 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.172 H 21.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B12836
RGBrgb(177, 40, 54)
HSLhsl(354, 63%, 43%)
HSVhsv(354, 77%, 69%)
CMYKcmyk(0%, 77.4%, 69.5%, 30.6%)
CIE-LABlab(39.81, 54.65, 26.52)
CIE-LCHlch(39.81, 60.74, 25.88°)
OKLaboklab(50.23% 0.1609 0.0617)
OKLCHoklch(50.23% 0.172 21)
XYZxyz(19.5583, 11.1340, 4.6086)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12836 #28B1A3
analogous
#B1287A #B12836 #B15F28
triadic
#B12836 #36B128 #2836B1
tetradic
#B12836 #7AB128 #28B1A3 #5F28B1
square
#B12836 #7AB128 #28B1A3 #5F28B1
split-complementary
#B12836 #28B15F #287AB1
monochromatic
#4D1118 #7F1D27 #B12836 #D44251 #E0747F

Accessibility & contrast

On white

6.51
#B12836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12836
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12836#FFFFFF#000000##FFFFFF
##B128361.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B35
Deuteranopia (green-blind)
#736832
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12836;
/* rgb */ color: rgb(177, 40, 54);
/* oklch */ color: oklch(50.2% 0.172 21.0);
Tailwind
colors: {
  custom: {
    50: '#d06e6d',
    500: '#b12836',
    950: '#000000',
  },
}
SCSS
$custom: #b12836;
$custom-light: #d06e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12836",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 353.869,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.1723,
    "h": 21
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#B12836
secondary
#6EC7BE
accent
#E6D542
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12836

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

Preview Lab → · Contrast checker → · Palette generator →

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