#B12831#B12831

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

Color values

HEX#B12831
RGBrgb(177, 40, 49)
HSLhsl(356, 63%, 43%)
HSVhsv(356, 77%, 69%)
CMYKcmyk(0%, 77.4%, 72.3%, 30.6%)
CIE-LABlab(39.73, 54.41, 29.48)
CIE-LCHlch(39.73, 61.88, 28.45°)
OKLaboklab(50.15% 0.159 0.0674)
OKLCHoklch(50.15% 0.173 23)
XYZxyz(19.4469, 11.0895, 4.0217)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12831 #28B1A8
analogous
#B12876 #B12831 #B16328
triadic
#B12831 #31B128 #2831B1
tetradic
#B12831 #76B128 #28B1A8 #6328B1
square
#B12831 #76B128 #28B1A8 #6328B1
split-complementary
#B12831 #28B163 #2876B1
monochromatic
#4D1115 #7F1D23 #B12831 #D4424C #E0747B

Accessibility & contrast

On white

6.53
#B12831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B12831
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12831#FFFFFF#000000##FFFFFF
##B128311.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b12831;
/* rgb */ color: rgb(177, 40, 49);
/* oklch */ color: oklch(50.2% 0.173 23.0);
Tailwind
colors: {
  custom: {
    50: '#d16e69',
    500: '#b12831',
    950: '#000000',
  },
}
SCSS
$custom: #b12831;
$custom-light: #d16e69;
$custom-dark: #000000;
JSON
{
  "hex": "#b12831",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 356.058,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.17267,
    "h": 23
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#B12831
secondary
#6EC7C1
accent
#E6DB42
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A

Preview Lab

Preview with #B12831

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

Preview Lab → · Contrast checker → · Palette generator →

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