#B12837#B12837

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

Color values

HEX#B12837
RGBrgb(177, 40, 55)
HSLhsl(353, 63%, 43%)
HSVhsv(353, 77%, 69%)
CMYKcmyk(0%, 77.4%, 68.9%, 30.6%)
CIE-LABlab(39.82, 54.70, 25.92)
CIE-LCHlch(39.82, 60.53, 25.35°)
OKLaboklab(50.25% 0.1613 0.0605)
OKLCHoklch(50.25% 0.172 20.6)
XYZxyz(19.5820, 11.1435, 4.7335)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12837 #28B1A2
analogous
#B1287B #B12837 #B15E28
triadic
#B12837 #37B128 #2837B1
tetradic
#B12837 #7BB128 #28B1A2 #5E28B1
square
#B12837 #7BB128 #28B1A2 #5E28B1
split-complementary
#B12837 #28B15E #287BB1
monochromatic
#4D1118 #7F1D27 #B12837 #D44252 #E07480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B12837#FFFFFF#000000##FFFFFF
##B128371.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)
#514B36
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#C3002F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12837;
/* rgb */ color: rgb(177, 40, 55);
/* oklch */ color: oklch(50.2% 0.172 20.6);
Tailwind
colors: {
  custom: {
    50: '#d06e6d',
    500: '#b12837',
    950: '#000000',
  },
}
SCSS
$custom: #b12837;
$custom-light: #d06e6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b12837",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 353.431,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.17224,
    "h": 20.6
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#B12837
secondary
#6EC7BD
accent
#E6D442
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A

Preview Lab

Preview with #B12837

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

Preview Lab → · Contrast checker → · Palette generator →

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