#B12832#B12832

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

Color values

HEX#B12832
RGBrgb(177, 40, 50)
HSLhsl(356, 63%, 43%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 77.4%, 71.8%, 30.6%)
CIE-LABlab(39.74, 54.46, 28.89)
CIE-LCHlch(39.74, 61.65, 27.95°)
OKLaboklab(50.17% 0.1594 0.0663)
OKLCHoklch(50.17% 0.173 22.6)
XYZxyz(19.4682, 11.0980, 4.1340)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12832 #28B1A7
analogous
#B12877 #B12832 #B16228
triadic
#B12832 #32B128 #2832B1
tetradic
#B12832 #77B128 #28B1A7 #6228B1
square
#B12832 #77B128 #28B1A7 #6228B1
split-complementary
#B12832 #28B162 #2877B1
monochromatic
#4D1116 #7F1D24 #B12832 #D4424D #E0747C

Accessibility & contrast

On white

6.52
#B12832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B12832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12832
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12832#FFFFFF#000000##FFFFFF
##B128321.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B31
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#C3002D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b12832;
/* rgb */ color: rgb(177, 40, 50);
/* oklch */ color: oklch(50.2% 0.173 22.6);
Tailwind
colors: {
  custom: {
    50: '#d16e6a',
    500: '#b12832',
    950: '#000000',
  },
}
SCSS
$custom: #b12832;
$custom-light: #d16e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b12832",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 50
  },
  "hsl": {
    "h": 355.62,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50169,
    "c": 0.17259,
    "h": 22.6
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#B12832
secondary
#6EC7C0
accent
#E6DA42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12832

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

Preview Lab → · Contrast checker → · Palette generator →

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